all groups > iis ftp > january 2008 >
You're in the

iis ftp

group:

Transfer and delete


Re: Transfer and delete Alun Jones
1/17/2008 5:55:33 AM
iis ftp:
[quoted text, click to view]

In the command-line FTP client for Windows, you can run local commands using
the "!" instruction - so, to delete the files you've just transferred, try
this:

prompt
mput abc*.txt
!del abc*.txt

[quoted text, click to view]

One more thing to consider is that if a file matching abc*.txt gets dropped
into your local directory while this transfer is going on, it will not be
transferred up, and it will be deleted.

If concurrency issues such as this are a problem, move the files to a
temporary directory, then transfer them from there, then delete the
directory.

Alun.
~~~~
Transfer and delete Ingo R. Kirchner
1/17/2008 12:40:53 PM
Hi

i use a script for ftp to transfer files like

prompt
mput abc*.txt

is there a command in ftp to delete the local abc*.txt files

i only found how to delete the files on the remote system
and something like mput /delete does not work

any help appreciated, thanks in advance

Re: Transfer and delete Ingo R. Kirchner
1/17/2008 5:22:24 PM
Hi Alun,

thanks, it worked

AddThis Social Bookmark Button