Using WinSCP to put and get files by command line so scripts are used as opposed to calling stored sessions on the Winscp application. In the application the resume support for file transfers is set to disabled so that files are not sent using a partfile so they require a rename once the file has been sftp successfully. This is due to certain 3rd partied not allowing permission to rename files which is normal for companies.
The issue is that when scripting the setting in the app seems to be getting ignored and files are transferring using the partfile method. The way round this is to add an additional switch to the scripts (written in command not PS)
This does resolve the issue but introduces another, there are a large number of scripts and would prefer to not to have to update them all. It would be better to enable resumesupport as the exception rather than the norm.
Is there a way to set the
-resumesupport=offfor scripts somewhere? This is possible for the app but as mentioned above scripts ignore this setting.