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

Guest

Re: SOLVED

martin wrote:


OK. That's for a batch file (.bat), not script file. Feel free to suggest a better wording to make it more clear.


The wording is fine, I just tried for troubleshooting my problem.

Thanks for the great respondings!
martin

Re: SOLVED


OK. That's for a batch file (.bat), not script file. Feel free to suggest a better wording to make it more clear.
martin

Re: SOLVED

Anonymous wrote:

I found the %% on the page https://winscp.net/forum/viewtopic.php?t=14876
I tried this when I was troubleshooting my problem;-)

You have pointed back to your own topic by mistake. Please try again :)
Guest

SOLVED

I download the new version 5.7 and after replacing %% for % the problem is solved.

I found the %% on the page https://winscp.net/forum/viewtopic.php?t=14876
I tried this when I was troubleshooting my problem;-)
martin

Re: Problem with "new" timestamp function

Why did you double the %? (if there's anything in the documentation that suggest this, please let us know, so that we can improve it).

It should be:
get "/html" "S:\backup\%TIMESTAMP%\"

Also make sure you are using the latest release of WinSCP, 5.6.x RC. Or 5.7 [stable] - to be released in few hours.
Guest

Problem with "new" timestamp function

I tried to make a batch import script for backup my ftp location.

I download the folder "html" to my external drive "S:" on the external drive is an folder "backup".
In the "backup" folder I like to make a new folder with a timestamp as name.

get "/html" "S:\backup\%%TIMESTAMP%%\"

The problem now is that it doesnt use the timestamp function, but "%%TIMESTAMP%%" as text?

Is ther anyone that can help me?