Windows XP Home SP3 (Client) / Windows Server 2003 SP2 (Server)
# 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:email@example.com
# Force binary mode transfer
option transfer binary
# chdir to local uploads folder
# chdir to remote uploads folder
cd /cygdrive/c/inetpub/ftproot/[user's directory]
# Upload files
put -delete *.tif
# Exit WinSCP
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!