Topic "Fail to sync system protected file"

Author Message
Roya
[View user's profile]

Joined: 2014-08-11
Posts: 1
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 :


Code:
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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
You can exclude such files with -filemask switch. E.g. -filemask=|Thumbs.db.
_________________
Martin Prikryl
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License