Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Upload Files and give them a different Name on FTP - via command line on windows

If you are using WinSCP scripting, then you can specify the target file name in second argument of the put command:
put "C:\local\path\aaaaa.txt" "/remote/path/bbbbb.txt"

https://winscp.net/eng/docs/scriptcommand_put
mheubach

Upload Files and give them a different Name on FTP - via command line on windows

Hi there,
i would like to upload - via command line on windows - a file for example "aaaaa.txt"
andon the ftp server it should have the name "bbbbb.txt"

I don't want to duplicate or rename files on my local storage before upload!

I didn't find an example on your page!

regards
Matt