Topic "How do I know if my script is using ftp or sftp?"

Author Message
treacheroust

Guest


My server supports both sftp and ftp, but the url for both is ftp.example.com. I'm trying to write a script, and it's unclear to me how to force the "open" command to use the sftp protocol. I've done a bunch of searching, and I can't find the answer. Thanks in advance for your help!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
ftp://ftp.example.com
sftp://ftp.example.com
_________________
Martin Prikryl
treacheroust

Guest


Thanks, in retrospect it is stated in the documentation! Great product and great site.
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