Hi
I have a number of Windows Task scheduled WinSCP scripts running from a Windows 2019 SFTP server. (The scripts are Windows commands batch files)
I think what must have happened is that a couple of tasks/scripts have overlapped due to retry attempts. The scripts I have piped to log files and it is these log files that display the error message:
Cannot open file "C:\Program Files (x86)\WinSCP\WinSCP.ini". The process cannot access the file because it is being used by another process.
I realise I can amend the Windows Task scheduling to help avoid this happening, but I also wanted to know if making the WinSCP.ini Read only may also be a way to avoid any future contention for the WinSCP.ini file.
Many Thanks