Posted: 2006-03-14 18:09
I am using WinSCP ver 3.7.1
My intention is to get all the files present in a particular directory from a server using a script (batch commands).
Using the script I am able to login and list the files with S*.txt , but when I use
"get s*.txt d:\"
I get the error
"Can't get attributes of file 's*.txt'.
No such file or directory.
Error code: 2
Error message from server: The filename, directory name, or volume label syntax
is incorrect. (en)
Request code: 7
Can you please suggest what is going wrong. I cannot hard code the name in the get command as there will more than 1 file and could have different names.
Location: Prague, Czechia
Wildcards in scripting are supported since 3.7.2 only. Please upgrade.
You can post new topics in this forum
And it's free!