Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

bmorin

Thank you for the response! I will try that.
martin

Re: Windows thinks WinSCP uploads are locked

Can you try the same with WinSCP 4.2.5?
bmorin

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!