Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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: Renaming local files

janiop wrote:

thanks but it doesn't tell me how to add the timestamp.

Well, that's not a task for WinSCP.
Simple google search will give you a solution.
See for example https://stackoverflow.com/q/17996936/850848
janiop

Re: Renaming local files

thanks but it doesn't tell me how to add the timestamp.
janiop

Re: Renaming local files

Exactly.
martin

Re: Renaming local files

Do you mean you want to upload the file using its original name and after the upload archive the original local file by appending the timestamp to its name?
janiop

Renaming local files

I am new to WinSCP and in my script I put a file to a remote directory but I want to rename the local version by adding YYMMDD in the file name. How can I accomplish this?

Newbie