@Guest: The error can happen with many commands. So it's not as easy as putting link to the
get
documentation. Anyway, I've added it.
get
documentation. Anyway, I've added it.
Checking existence of file.
Checking existence of partially transferred file.
(ETerminal) No such file or directory.
Error code: 2
Error message from server: <filename>.filepart does not exist
"winscp Checking existence of partially transferred file"
To configure transfer to temporary file name in scripting, use-resumesupport
switch of file transfer commands. In .NET assembly use TransferOptions.ResumeSupport.
put
command and a link to this page:
put "C:\xxxxx\*.csv" /xxxxx/*.csv -resumesupport=off
open
string:
open sftp://xxxxxxx:xxxxxx@xx.xxx.xx.xx:xxxx -rawsettings ResumeSupport=1 ResumeThreshold=10240000 -hostkey="xxxxx"
open sftp://xxxxxxx:xxxxxx@xx.xxx.xx.xx:xxxx -rawsettings ResumeSupport=2 -hostkey="xxxxx"