Post a reply :: Support Forum

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Tip: Styles can be applied quickly to selected text.

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

Guest

Excellent! Thank you :)
martin

Re: FTP automation from the commandline

When I use ftp://ipaddress then I can connect but I can't do automation (since I'm using the url) But if I don't use the URL it won't connect even if I use ipaddress:portnumber. How does winscp know what protocol to use when not using the url prefix?

You can use the URL prefix in "open" command in script (what is preferred anyway) instead of opening session from command line.
techstressd

it uses sftp by default
Guest

FTP automation from the commandline

Hi,
When I use ftp://ipaddress then I can connect but I can't do automation (since I'm using the url) But if I don't use the URL it won't connect even if I use ipaddress:portnumber. How does winscp know what protocol to use when not using the url prefix?

Cheers,
Rhys