WinSCP.com and INI file updates

Advertisement

mmlclone
Joined:
Posts:
1

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

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum