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

mmlclone

WinSCP.com and INI file updates

Hi

We are using one copy of WinSCP used by multiple processes. WinSCP updates the INI file on exit and often we get error "Error writing to file '.....\WinSCP\WinSCP.ini'". Most likely becase two instances on WinSCP are writing the INI at the same time. We want to use the INI instead of windows registery. Is it possible to disable INI updates or some other thing?


Windows Server 2008R2
WinSCP 5.7.1.0


Command:
WinSCP.com /script=somescript.txt /parameter user@server ppkfile.ppk /some/dir some_file.zip some_file.zip



somescript.txt:
option batch on

option confirm off
open sftp://%1% -privatekey="%2%"
cd %3%
put %4%
chmod 660 %5%
close
exit