Re: Scripting Large file over threshold, avoid timeout
Thanks Martin, This is what I needed to know.
I appreciate the help.
I appreciate the help.
-resumesupport
: https://winscp.net/eng/docs/scriptcommand_put#resumesupport
.filepart
on the end.
8/6/2010 @ 19:52:1
File Arrived from our user name
File Type : ART
File Name length greater than 16 : ARBIGDAILY1.CSV.FILEPART
Job Aborted
8/9/2010 @ 7:36:58
File Arrived from our user name
File Type : ART
File Name length greater than 16 : ARBIGDAILY1.CSV.FILEPART
Job Aborted
.filepart
suffix does not get removed once the upload finishes?
8/4/2010 @ 7:37:14
File Arrived from Username
File Type : ART
File Name length greater than 16 : BIGDAILY.CSV.FILEPART
Job Aborted
-timeout=45
may be okay in my script? But I still am getting the file renamed with .filepart
on the end. Then the filename is incorrect that I need to send to the other server.
put
open sftp://username:password@sftp.servername.com:23 -timeout=45
cd /TotheRightDirectory
ls
binary
put \\path\pathnext\TransmitFiles\AR*.CSV
ls
close
exit
winscp.exe /console /command "option batch on" "option confirm off" /script="\\PATH\ANOTHERFolder\mput.SCR" /