Topic "FTPS Scripting Help"

Author Message
kmonday
[View user's profile]

Joined: 2013-05-13
Posts: 1
What is wrong with this script??

"C:\Program Files\WinSCP\WinSCP.com" /command "option batch on" "option confirm off" "open ftps"://kmonday:password123@ftp.testsite.com:990 -explicitssl -certificate="dc:cf:07:f4:8d:12:40:bf:a6:cb:7a:e7:e9:37:17:9a:f6:93:d0:77" "cd /file/path/Orders" "get filename.txt"
Advertisements
Guest




kmonday wrote:
What is wrong with this script??

"C:\Program Files\WinSCP\WinSCP.com" /command "option batch on" "option confirm off" "open ftps"://kmonday:password123@ftp.testsite.com:990 -explicitssl -certificate="dc:cf:07:f4:8d:12:40:bf:a6:cb:7a:e7:e9:37:17:9a:f6:93:d0:77" "cd /file/path/Orders" "get filename.txt"


Maybe WinSCP.com should be WinSCP.exe?
Guest




kmonday wrote:
What is wrong with this script??

"C:\Program Files\WinSCP\WinSCP.com" /command "option batch on" "option confirm off" "open ftps"://kmonday:password123@ftp.testsite.com:990 -explicitssl -certificate="dc:cf:07:f4:8d:12:40:bf:a6:cb:7a:e7:e9:37:17:9a:f6:93:d0:77" "cd /file/path/Orders" "get filename.txt"


Shouldn't it be "open sftp"://kmonday:
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
You have quotes wrong:

Code:
"C:\Program Files\WinSCP\WinSCP.com" /command "option batch on" "option confirm off" "open ftps://kmonday:password123@ftp.testsite.com:990 -explicitssl -certificate=""dc:cf:07:f4:8d:12:40:bf:a6:cb:7a:e7:e9:37:17:9a:f6:93:d0:77""" "cd /file/path/Orders" "get filename.txt"


See http://winscp.net/eng/docs/scripting#syntax
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