what is the syntax for recusive get?
Hello,
I hate to ask this as there is a plethora of documentation available on the 'get' command as well as about masks and path masks. Unfortunately, I haven't managed to perform a recursive get. Can someone help with the syntax?
On a Windows XP box, my directory structure looks like this:
.../Share/Client1/file.txt
.../Share/Client2/file2.txt
I am using WinSCP and a script file. I wish for the script file to begin with the 'Share' folder and recursively download all the files that end in "*.txt" without knowing what the subdirectories are.
I'm trying different syntax such as:
get *.txt
get Share*.txt
get mask /Share/*/*.txt
get -filemask /Share/*/*.txt
get -filemask "/Share/*/*.txt" c:\temp\winscp\files\
Nothing works so far. Can someone help this newbie?
thanks!
I hate to ask this as there is a plethora of documentation available on the 'get' command as well as about masks and path masks. Unfortunately, I haven't managed to perform a recursive get. Can someone help with the syntax?
On a Windows XP box, my directory structure looks like this:
.../Share/Client1/file.txt
.../Share/Client2/file2.txt
I am using WinSCP and a script file. I wish for the script file to begin with the 'Share' folder and recursively download all the files that end in "*.txt" without knowing what the subdirectories are.
I'm trying different syntax such as:
get *.txt
get Share*.txt
get mask /Share/*/*.txt
get -filemask /Share/*/*.txt
get -filemask "/Share/*/*.txt" c:\temp\winscp\files\
Nothing works so far. Can someone help this newbie?
thanks!