Post a reply

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Prikryl that worked perfect, thanks for your help

Re: script to connect to ftp site with SSL

Use -explicit switch of open command:
Make sure you use the latest version of WinSCP (the switch was named differently earlier).

script to connect to ftp site with SSL


I'm using WinSCP for the first time and getting started with scripting an upload process that I need to put in place. Basically I can connect fine using the WinSCP client. Please see attachment img1 with a screenshot of the settings. However I'm not able to translate these settings into a console command. See im2 for the errors I'm getting.

Can you advise on the syntax required to connect via the console?

My aim is to create a script that can be scheduled daily to copy a file to the ftp site.

Many thnaks for reading this and any help is appreciated.