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. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/