Page 1 of 1

FTP Batch file - How to delete files form FTP Server

Posted: 01 Mar 2013 04:57
by Doyle
Hi,
I am trying to replicate files between remote computers via FTP server. I made IN and OUT folders for each computer and it is easy to put and get files with batch file but I need also to remove old files before upload new ones. "mdelete *" does not work because it expects confirmation for every file that I wish to delete. How to overcome this?

Re: FTP Batch file - How to delete files form FTP Server

Posted: 01 Mar 2013 06:26
by foxidrive
See if this helps in your script.

>> Turns iteractive mode on or off so that commands on multiple files are executed without user confirmation.
ftp> prompt