Topic "script to connect to ftp site with SSL"

Author Message
Jo_L
[View user's profile]

Joined: 2015-03-04
Posts: 3
HI,

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.

Joe
img2.JPG (98.18 KB)

Description: (none)

img2.JPG

img1.JPG (68.93 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Use -explicit switch of open command:
https://winscp.net/eng/docs/scriptcommand_open
Make sure you use the latest version of WinSCP (the switch was named differently earlier).
_________________
Martin Prikryl
Jo_L
[View user's profile]

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

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License