Windows thinks WinSCP uploads are locked

Advertisement

bmorin
Guest

Windows thinks WinSCP uploads are locked

WinSCP 4.1.9
Windows XP Home SP3 (Client) / Windows Server 2003 SP2 (Server)
FTP
Script:
-----------
# Automatically answer all prompts negatively not to stall
# the script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect using a password
# open user:password@example.com
# Connect
open [username]:[password]@[server].[domain].com
# Force binary mode transfer
option transfer binary
# chdir to local uploads folder
lcd C:\uploads
# chdir to remote uploads folder
cd /cygdrive/c/inetpub/ftproot/[user's directory]
# Upload files
put -delete *.tif
# Disconnect
close
# Exit WinSCP
exit
-----------
Laserfiche Import Agent generates this Windows Event Viewer Error Message (on server) when it tries to move the file: 'The file "C:\inetpub\ftproot\[user's directory]\[filename.tif]" is locked.'
Even though Event Viewer says that the files are locked, the files can still be opened, moved, edited, etc. We encounter this error message with approximately 10-40% of WinSCP uploads. We also use RoboFTP for some transfers, and those come through without error - this issue has been isolated to WinSCP uploads.

Thanks in advance for any input!

Reply with quote

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

Re: Windows thinks WinSCP uploads are locked

Can you try the same with WinSCP 4.2.5?
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum