Re: difference between FTP and SFTP

[email protected] ("Chas. Owens")
Newsgroups perl.beginners
Message-ID <[email protected]>
On Thu, May 29, 2008 at 1:30 AM, Rajnikant
<[email protected]> wrote:
> Hi everyone,
>
> I have question about SFTP's connection modes. FTP can use Active or Passive
> mode for same.
>
> Is SFTP also supports such modes?
snip

Active vs passive has to do whether both the server and the client
make connections (active aka original) or only the client makes
connections (passive).  In the SFTP protocol only the client initiates
connections, so you can think of SFTP as always being in passive mode.

You might want to read more about how active and passive modes work
here: http://slacksite.com/other/ftp.html.

This question and the others you have asked lead me to believe you
want an FTP client, but want the connection to be secure.  SFTP is not
your only choice.  You can also use FTPS:
http://en.wikipedia.org/wiki/FTPS.  FTPS is FTP tunneled over SSL.
There is even a Perl module for it
http://search.cpan.org/dist/Net-FTPSSL/FTPSSL.pm.

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.