Hi, I'm using v4.3.5 on a server to SFTP some PDFs on a daily basis. The transfer job is automated using a .bat file which calls:
winscp.com /script="D:\Program Files\WinSCP\GIS Scripts\***.txt"
The script looks like (comments removed):
option batch abort
option confirm off
open user:password@server -timeout=45
cd /folder
option transfer binary
put -delete E:\...\*.PDF
close
exit
Pretty standard stuff. I'd like to disable the resume transfer option. It's causing us an issue as the server we SFTP the PDFs to has a polling function which takes anything that arrives and passes it on. If a file transfer is in process or there's a connection issue, then there's a
.filepart
file in there that gets picked up and moved on to the destination. Sometimes the transfer resumes successfully and the destination will have both a
.pdf.filepart
and a
.pdf
. Sometimes it does not and the destination will have a
.filepart
and a
.pdf
of zero bytes.
I can untick the
Resume Transfer option in the Preferences in the client app on the server and
Disable the Endurance. But we're still getting fileparts. Is this because we're running the transfer from a script and that uses default options and not options changed in the client app? Any way that I can disable this option?