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.

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)


Topic review


Re: Winscp GET command with variable in the file name

You can use mask file*.bak or check this example.

Winscp GET command with variable in the file name

Dear all,

I'm new in WinSCP scripting, but already use it for backup between servers...

I need to filter files names for a GET command. I already use a text file for script commands.

I need to GET files among many others with names containing the date of the day.
i.e "FILE20070704.bak"
The name of the file change everyday, so my script needs to use the DATE of the day in the filter for the file name.

Do you have a solution for my problem ?

Best regards,