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

stevenfoo

Re: get -delete or synchronize -delete is deleting folder

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

==> Option batch continue

Thanks. Hope this help.
stevenfoo

get -delete or synchronize -delete is deleting folder

I am trying out the command line

get -delete -resume -preservetime -speed=300 -filemask="*.txt" /upload/* E:\Data\
or
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?