Topic review

Re: Get Command Within Script

Get Command Within Script

2011-08-28 13:25

Trying to make a simple script work. I can delete my files locally, I can log in with winscp but when using the get command to retrieve the files from the remote host it does no work. Here is a kicker, when I run the script and log into the command prompt winscp, I can run the get command and it works just fine. I am missing something in my script. Need some help!! I am using the echo off and pause so I can watch the script work and once the scrit is working I will remove it.

Here is my script.

Session name is test
On the Winscp login session I do have the directories set to
/home/dennis/downloads/test
D:\test123