-delete not working on sync

Advertisement

oderuyter
Joined:
Posts:
1
Location:
UK

-delete not working on sync

My target here is to download an entire directory from an FTP site to a Windows machine THEN delete the remote directory. This is my script and I'm going nuts reading various posts and FAQ/KB's. Its downloading the files just fine but not deleting them after - please help

option batch continue
option confirm off
open user@remotehost
synchronize local -nopreservetime -nopermissions -delete "E:\DOWNLOAD\Completed\test" "/files/Completed/test/"
close

Please help me correct my code.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum