Topic "-delete not working on sync"

Author Message
[View user's profile]

Joined: 2015-04-25
Posts: 1
Location: UK
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/"

Please help me correct my code.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Please read FAQ:

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License