Files keep temp name when using CMD

Advertisement

John Ware
Guest

Files keep temp name when using CMD

I have set every possible GUI option to not use temp file names.
And use a CMD script with
put -resumesupport-off C:\filename
But every time it arrives at the FTP site it has a name that looks like
.20220913_145954.ftp.ve.gz.pgp
   
.20220913_145449.filepart.ve.g
Am I missing a setting somewhere or script cmd?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Files keep temp name when using CMD

WinSCP adds .filepart extension to the very end of the file name. It's also adding the extension with SFTP only, not with FTP. Are you sure it's WinSCP adding the extension, and not the server? Post a session log file.
Also, if should be -resumesupport=off, not -resumesupport-off.

Reply with quote

John Ware
Guest

Re: Files keep temp name when using CMD

Sorry I did have the =off correct in the script I just typed it wrong here.
You can see in the log file it doing some weird stuff with the file name.

The file name ends up being this when it posts to the server
.20220915_180820.ftp.ve.gz.pgp

Reply with quote

Advertisement

You can post new topics in this forum