Post a reply

Options
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)

Options

Topic review

martin

Re: FTPS Scripting Help

You have quotes wrong:

"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 https://winscp.net/eng/docs/scripting#syntax
Guest

Re: FTPS Scripting Help

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:
Guest

Re: FTPS Scripting Help

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?
kmonday

FTPS Scripting Help

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"