Winscp GET command with variable in the file name

Advertisement

Autourdupc
Guest

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,
Laurent.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Winscp GET command with variable in the file name

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

Reply with quote

Advertisement

You can post new topics in this forum