Topic "script to connect to ftp site with SSL"

Author Message
[View user's profile]

Joined: 2015-03-04
Posts: 3

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.

img2.JPG (98.18 KB)

Description: (none)


img1.JPG (68.93 KB) [Download]

Description: (none)

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Use -explicit switch of open command:
Make sure you use the latest version of WinSCP (the switch was named differently earlier).
Martin Prikryl
[View user's profile]

Joined: 2015-03-04
Posts: 3
Prikryl that worked perfect, thanks for your help

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License