Filemask switch when using GET
OK, I have done a fair amount of searching and I am still stumped with time ticking on.
I have a windows .bat file which then runs a winscp.txt file with commands via the console.
The winscp.txt file runs a number of commands successfully and the command
works just fine.
However, the following does not:
I thought it maybe an issue with the quotes, so have tried with or without quotes and or double quotes, etc.
The error being returned in the windows command prompt when running the .bat file is,
Any help or guidance greatly appreciated.
PS. WinSCP is version 5.1.2
I have a windows .bat file which then runs a winscp.txt file with commands via the console.
The winscp.txt file runs a number of commands successfully and the command
get *.txt
works just fine.
However, the following does not:
get -filemask="*.txt"
I thought it maybe an issue with the quotes, so have tried with or without quotes and or double quotes, etc.
The error being returned in the windows command prompt when running the .bat file is,
Missing parameter for command 'get'
Any help or guidance greatly appreciated.
PS. WinSCP is version 5.1.2