Title: Help with WSFTP over SSL from a batch file

Hello,
I'm trying to set up a scheduled batch job to make an SSL connection to WS_FTP server and move a file. I've read the documentation but apparently I'm nissing something.

In WS_FTP Pro ver 7.5 I have a site called test1 set up inside the MySites folder.I've run it and accepted the certificate. It works fine from the GUI but there are problems when I try to run it as a batch.

The batch file contains the following line

"C:\Program Files\WS_FTP Pro\wsftppro.exe" -s local:C:\temp.txt -d MySites!test1:/

I've also tried playing with the destination portion using these variations:
"C:\Program Files\WS_FTP Pro\wsftppro.exe" -s local:C:\temp.txt -d MySites!test1:
"C:\Program Files\WS_FTP Pro\wsftppro.exe" -s local:C:\temp.txt -d MySites!test1:/temp.txt
"C:\Program Files\WS_FTP Pro\wsftppro.exe" -s local:C:\temp.txt -d MySites!test1:/users/test1
"C:\Program Files\WS_FTP Pro\wsftppro.exe" -s local:C:\temp.txt -d MySites!test1:/users/test1/temp.txt



The login seems to work but the file transfer fails
Below is the resulting log froom the server.  Any help would be appreciated




0302 13:01:29 (000005dc) 10.252.63.184:2104 connected to 171.66.100.20:21
0302 13:01:30 (000005dc) SSL Negotiated cipher strength 128 cipher name IDEA-CBC-SHA
0302 13:01:30 (000005dc) ftp-ssl.stanfordmed.org S(0) 10.252.63.184 test1 logon success (B1)
0302 13:01:30 (000005dc) ftp-ssl.stanfordmed.org U(NoFolder) 10.252.63.184 test1 ERR:CWD / (users/test1)
0302 13:01:30 (000005dc) ftp-ssl.stanfordmed.org U(NoFolder) 10.252.63.184 test1 ERR:XCWD / (users/test1)
0302 13:01:30 (000005dc) ftp-ssl.stanfordmed.org U(NoFolder) 10.252.63.184 test1 ERR:CWD / (users/test1)
0302 13:01:30 (000005dc) ftp-ssl.stanfordmed.org U(NoFolder) 10.252.63.184 test1 ERR:XCWD / (users/test1)
0302 13:01:30 (000005dc) ftp-ssl.stanfordmed.org S(0) 10.252.63.184 test1 logoff R:0 D:0 P:0
0302 13:01:30 (000005dc) 10.252.63.184 connection closed


Reply via email to