Topic "FTP automation from the commandline"

Author Message
Guest




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
Advertisements
techstressd

Guest


it uses sftp by default
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Quote:
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.
_________________
Martin Prikryl
Guest




Excellent! Thank you Smile
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