How to convert Windows FTP script to WinSCP?
问题 I need to use WinSCP in my legacy vb6 code. I always used my script like this: open ftp.myserver.com myusername mypassword passive on cd myfolder\ ascii put C:\temp\test.xml test.xml close quit Similar script (with little change) always worked for sslftp, psftp, etc. Now I need to create script to make this WinSCP work but it keeps throwing "host not found error". I'm not even trying the script. I'm trying it on the command window. winscp> open ftp.myserver.com Searching for host... Network