Topic "System Error 32 using "Keep remote directory up to date""

Author Message
flxkid

Guest


System Error. Code: 32.
The process cannot access the file because it is being used by another process

I'm using WinSCP to transfer backup images from one machine to another nightly just using the simple "Keep remote directory up to date" feature. I get this error every nite while it attempts to transfer the backup image while it is still being written to. Is there a way to make WinSCP just ignore this error? If it ignores it, everything will still stay up to date since as soon as the file is unlocked by the backup process, WinSCP will grab it. Right now, I have to clear the error on that machine daily after which the file is transfered just fine.

Thanx,

OLIVER
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Thanks for your post. This request has been added to tracker.
_________________
Martin Prikryl
edwardb

Guest


Hi I got this error also when using this parameter:

C:\>winscp /console /command "open run_sync" "synchronize remote -delete" "keepuptodate -delete"

Hope you can resolve it. Thank You
chippy

Guest


Is there a hidden preference somewhere to automatically skip files for which this error occurs?
Guest99

Guest


Is their any options to allow for skipping when this condition happens...I have this same problem too...look like this has been a problem for almost 5 years now...shocked that it has never been fixed....

chippy wrote:
Is there a hidden preference somewhere to automatically skip files for which this error occurs?
saarja

Guest


it could be nice if file in use error 32 could be continue/ignore and move next file.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
This has been implemented already.

See Continue on error option:
http://winscp.net/eng/docs/ui_keepuptodate

http://winscp.net/tracker/show_bug.cgi?id=720
saarja

Guest


hi, ok there is a gui option for continue error but i'm using script, is there swich for that ?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
saarja wrote:
hi, ok there is a gui option for continue error but i'm using script, is there swich for that ?

option batch continue
See http://winscp.net/eng/docs/scriptcommand_option
KOK HO

Guest


I keep having the following error everyday when I run the script to keep update from one server to another

The process cannot access the file because it is being used by another process")
Script: Can't open file 'D:\xxxx,dat'.
Script: System Error. Code: 32.

any suggestion to trace the file is being used by what process?

I'm using "Process Explorer" but can't find this xxxx.dat is in used by any process
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