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: Respond to Interactive prompt

You are missing quotes around the command:
WinSCP.com /command "open ftps://Username:password@domain/ -implicit -certificate=Fingerprint"

Note that I've also removed the quotes around the Fingerprint as they should not be needed (as the fingerprint does not contain any spaces). If you need quotes for whatever reason, you need to double them.
https://winscp.net/eng/docs/commandline#syntax

WinSCP GUI can generate a commandline/batch file template for you:
https://winscp.net/eng/docs/ui_generateurl#script
rpowell460

Respond to Interactive prompt

I am using WinSCP.com to push files to another server using Implicit FTP over TLS (FTPS). But I get the following message that I would like to respond to without user intervention or use a switch provided by WinSCP to provide a "Y" response.

Message:
If you trust this certificate press Y - yes.

I have tried the following syntax without any luck. Am I missing something in the syntax?
WinSCP.com /command open ftps://Username:password@domain/ -implicit -certificate="Fingerprint"