Thanks Chas. You got it correct. I do want the client using SFTP to download files from server. Thanks again for ur help as I have completed that assignment :).
~~~~~~~~~~~~~~~~~~~~ Thanks and Best regards, ~ Rajnikant Software Engg. Persistent Sys. Ltd. Ph. +91 98222 04088 -----Original Message----- From: Chas. Owens [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2008 5:57 PM To: Rajnikant Cc: beginners@perl.org Subject: Re: difference between FTP and SFTP 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/ DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/