Topic "Synchronize problem when permission denied"

Author Message
liviu.mirea
[View user's profile]

Joined: 2009-04-23
Posts: 2
Location: Romania
Hello,

I am using the following script to backup my website's files:
Code:
option batch on
option confirm off
open xxx@xxx.net
option transfer binary
synchronize local D:\backup -criteria=time
exit

Every now and then it disconnects in the middle of the backup process and I get this in the logs:
Code:
...
> 2009-04-24 01:48:58.046 RETR ctpl_admin_acp_board.html.php
< 2009-04-24 01:48:58.062 550 ctpl_admin_acp_board.html.php: Permission denied
. 2009-04-24 01:48:58.062 Copying files from remote side failed.
* 2009-04-24 01:48:58.062 (ExtException) Copying files from remote side failed.
* 2009-04-24 01:48:58.062 ctpl_admin_acp_board.html.php: Permission denied
. 2009-04-24 01:48:58.062 Asking user:
. 2009-04-24 01:48:58.062 Error transferring file '/forum/cache/ctpl_admin_acp_board.html.php'. ("Copying files from remote side failed.","ctpl_admin_acp_board.html.php: Permission denied")
* 2009-04-24 01:48:58.062 (EScpSkipFile) Error transferring file '/forum/cache/ctpl_admin_acp_board.html.php'.
* 2009-04-24 01:48:58.062 Copying files from remote side failed.
* 2009-04-24 01:48:58.062 ctpl_admin_acp_board.html.php: Permission denied
. 2009-04-24 01:48:58.062 Disconnected from server


Basicaly, it tries to download a file that has been deleted or that is currently written, I don't know exactly. Is there any way I can make it skip this error and continue backing up the rest of the files?

Thanks,
Liviu Mirea
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
You can set "option batch continue" before synchronization.
_________________
Martin Prikryl
liviu.mirea
[View user's profile]

Joined: 2009-04-23
Posts: 2
Location: Romania
It works like a charm, thank you very much! Very Happy
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