Hi, I am using a command prompt window in WinXP. Here is the script file "0.txt":
option batch on
option confirm off
open foo@bar.com
option transfer ascii
put c:\e\html\filename1.php /path/to/filename1.php
put c:\e\html\filename2.php /path/to/filename2.php
put c:\e\html\filename3.php /path/to/filename3.php
close
And here is the output when it is done:
C:\e>winscp3.com /script=0.txt
batch on
confirm off
Initialisation...
Searching for host...
Connecting to host...
Authenticating...
Using username "foo".
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] foo@bar.com
transfer ascii
c:\...\filename3.php | 15 kB | 26.8 kB/s | ascii | 100%
Session 'foo@bar.com' closed.
No session.
winscp>
Thanks again.