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

martin

Re: Fail to sync system protected file

You can exclude such files with -filemask switch. E.g. -filemask=|Thumbs.db.
Roya

Fail to sync system protected file

Hi,

First of all, please forgive me my approx english (I'm from France).

Anyway, I've got a little issue while using sync command in a windows script.
The pb is that when the synchro find a system protected file, it fail to sync it but create a same named file in remote or local directory but with a size of 0kb.
I tried to bypass the first encountered error wich makes me fail the sync while finding this type of file but it is somehow a pb for me.

the code is quite simple, just a sync both local remote
called by a bat file wich log it and here's a part of the log :


2014-08-11 09:55:10.207 Starting download of /remotedirectory/Thumbs.db

> 2014-08-11 09:55:10.207 TYPE I
< 2014-08-11 09:55:10.207 200 Type set to I.
> 2014-08-11 09:55:10.207 PASV
< 2014-08-11 09:55:10.208 227 Entering Passive Mode (Adress).
> 2014-08-11 09:55:10.208 RETR Thumbs.db
< 2014-08-11 09:55:10.210 550 Thumbs.db: The system cannot find the file specified.
. 2014-08-11 09:55:10.210 Copying files from remote side failed.
* 2014-08-11 09:55:10.210 (ExtException) **Copying files from remote side failed.**
* 2014-08-11 09:55:10.210 Thumbs.db: The system cannot find the file specified.
. 2014-08-11 09:55:10.210 Asking user:
. 2014-08-11 09:55:10.210 Error transferring file '/remotedirectory/Thumbs.db'. ("Copying files from remote side failed.","Thumbs.db: The system cannot find the file specified. ")
< 2014-08-11 09:55:10.210 Script: Error transferring file '/remotedirectory/Thumbs.db'.
< 2014-08-11 09:55:10.210 Script: Copying files from remote side failed.

< 2014-08-11 09:55:10.210 Thumbs.db: The system cannot find the file specified.
* 2014-08-11 09:55:10.210 (EScpSkipFile) Error transferring file '/remotedirectory/Thumbs.db'.
* 2014-08-11 09:55:10.210 Copying files from remote side failed.
* 2014-08-11 09:55:10.210 Thumbs.db: The system cannot find the file specified.