I am using the %TIMESTAMP% wildcard as follows:
xxxxxx_%TIMESTAMP#ddmmyyyy%.txt however when I run the script it reports that it can't find xxxxxx_21122016.tx i.e. the final letter of the file extension is missing. I have tried various types of quotes but these then appear in the filename. I have googled but nothing seems to suggest a solution. Any suggestion would be appreciate.
N.B. We are using WinSCP.5.9.3 with the commands in a text file called by a batch file.