Getting multiple files from remote server
I have not used WinSCP before, so this may be an easy problem to solve, but I haven't figured it out.
I am using a script to connect to a remote server via SFTP. I am able to get to the correct remote directory. I have the following options set in my script: batch on and confirm off. I want to download all files from the remote directory and am executing the following: get *.* C:\myfiles\
When I do this only one of the 17 files in the remote directory is downloaded to the local machine. I am using version 4.1.8 of WinSCP. I have tried using both a .txt file and a .bat file for the script, but both result in the same problem.
When I copy the files using the GUI interface, it works fine.
Any suggestions?
I am using a script to connect to a remote server via SFTP. I am able to get to the correct remote directory. I have the following options set in my script: batch on and confirm off. I want to download all files from the remote directory and am executing the following: get *.* C:\myfiles\
When I do this only one of the 17 files in the remote directory is downloaded to the local machine. I am using version 4.1.8 of WinSCP. I have tried using both a .txt file and a .bat file for the script, but both result in the same problem.
When I copy the files using the GUI interface, it works fine.
Any suggestions?