Topic "get -delete or synchronize -delete is deleting folder"

Author Message


I am trying out the command line

get -delete -resume -preservetime -speed=300 -filemask="*.txt" /upload/* E:\Data\
synchronize remote -delete -criteria=time -speed=300

In /upload and E:\Data, it contain sub folders and and files.

However, it is trying to delete sub folder as well. I wanted it to delete only the files once it get or synchronize completed. Any idea?

> 2013-01-08 10:01:12.395 RMD /data/STDF/50/
< 2013-01-08 10:01:12.645 550 /data/STDF/50: Permission denied on server. (Upload dirs)
. 2013-01-08 10:01:12.645 Asking user:
. 2013-01-08 10:01:12.645 Error deleting file '/data/STDF/50'. ("/utacwm/upload/Final_Test/STDF/J750: Permission denied on server. (Upload dirs)")
< 2013-01-08 10:01:12.645 Script: Error deleting file '/data/STDF/50'.
< 2013-01-08 10:01:12.645 Script: /data/STDF/50: Permission denied on server. (Upload dirs)
. 2013-01-08 10:01:12.645 Script: Failed
. 2013-01-08 10:01:12.645 Script: Exit code: 1
. 2013-01-08 10:01:12.645 Disconnected from server

Is there a way to resume even the error is there and move forward to delete other files instead of exit/disconnect it?


It is working now.
I am able to continue even if the delete error occurred.

==> Option batch continue

Thanks. Hope this help.

You can post new topics in this forum

Search Site

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