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