Fail to sync system protected file

Advertisement

Roya
Joined:
Posts:
1

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.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,426
Location:
Prague, Czechia

Re: Fail to sync system protected file

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

Reply with quote

Advertisement

You can post new topics in this forum