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?
FTP Batch file - How to delete files form FTP Server
Moderator: DosItHelp
Re: FTP Batch file - How to delete files form FTP Server
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
>> Turns iteractive mode on or off so that commands on multiple files are executed without user confirmation.
ftp> prompt