Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

oderuyter

-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.