Posted: 2009-10-12 17:37
I am very new to scripting and am having difficulty in getting my script to run. I have read through the guides, FAQ and forum postings and there must be something that I am missing. I need to download remote files to a specific local directory and then move the remote files to a different remote directory. The script is below.
option batch on
option confirm off
get *.txt h:\123\ABC\Temp
mv *.txt complete/
The script is called script.txt and is located in c:\Scripts
I have tried running the script from the command prompts as:
in each case winscp.com loads and requests the host. Ultimately I want to call this script from a .bat file so that I can automate the daily download.
I appreciate and help and advice you can offer.
Location: New York
Posted: 2009-10-12 19:00
After more reading I found out that I was trying to call the script incorrectly. I should have entered:
You can post new topics in this forum
And it's free!