I can sftp the file if I log in manually and save the settings changing
1) Server response timeout from 15 seconds to 45 seconds
2) I also must adjust one more setting to Disable for Endurance under Transfer under advance settings.
Also, one more thing. Here is the error I get because it added more to the name of the file.
8/4/2010 @ 7:37:14
File Arrived from Username
File Type : ART
File Name length greater than 16 : BIGDAILY.CSV.FILEPART
I think the -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.
Does anyone script and sftp a very large file and have a suggestion as to what I might be doing wrong?
I need to avoid this rename of the file and then not timeout when doing the PUT
open sftp://username:email@example.com:23 -timeout=45
From the batch file I use this command, so maybe I need to add something here?
winscp.exe /console /command "option batch on" "option confirm off" /script="\\PATH\ANOTHERFolder\mput.SCR" /
Thanks very much.