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

martin

Yes, it is still on the to do list with a medium priority (given the 7 votes).
mcq

Dear Martin

Thanks for your instruction, indeed, configuring additional option batch parameter helps not to terminate the synchronization session:
option batch continue

I am wondering if the change is still on the "to do" list for synchronize function or we should stay with option batch parameter.
mcq

SFTP Mirror: error32: The process cannot access the file because it is being used by another process

I am using WinSCP (6.1) to mirror SFTP data to the local directory served in the network by Windows Server (shared directory). Users are also able to reach the same directory and open those files (when script finish synchronization from SFTP).

The problem is that synchronization fails when any user open downloaded file. As I am using mirroring WinSCP is checking the content of the target directory to find the differences from source and to copy only missing data.

Is there any way to work around the problem so that WinSCP can deal with open files, e.g. scan by name? Or is it possible for WinSCP to ignore this file, record it in the log and continue working instead of terminating? If yes, how to do it in current version? Of cource, if file is closed by user script works perfect...

I am using a script:
open sftp://user@sftp_server -rawsettings ProxyMethod=3 ProxyHost=proxy_server ProxyPort=8080 -hostkey="fingerprint_here" -privatekey=D:\xxx\pk.ppk
synchronize local -mirror -criteria=either -preservetime \\server\reports /export/

Please find logs with the indicated problem attached.