Question : WinSCP script help

I'm using a batch file to run a winscp script that synchronizes a remote folder with a local folder.  It worked fine until I switched from FTP to FTPS.  (I changed the port also).  Can someone tell me what I am doing wrong?



Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
The script code:
REM Old
REM open ftp://:@:
 
REM New
open ftps://:@:
 
cd remotefolder
lcd localfodler
synchronize local
exit

Answer : WinSCP script help

I created and saved a WinSCP session (where the file protocol is FTP with SSL Explicit encryption selected).  I then changed the open statement in my script with the name of the WinSCP session, like this

open winscp_session_ftps@remoteserver.com

It now works.  Yeah!!!
Random Solutions  
 
programming4us programming4us