RE: difference between FTP and SFTP



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:chas.owens@xxxxxxxxx]
Sent: Thursday, May 29, 2008 5:57 PM
To: Rajnikant
Cc: beginners@xxxxxxxx
Subject: Re: difference between FTP and SFTP

On Thu, May 29, 2008 at 1:30 AM, Rajnikant
<rajnikant_jachak@xxxxxxxxxxxxxxxx> 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: beginners-unsubscribe@xxxxxxxx For additional
commands, e-mail: beginners-help@xxxxxxxx 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.
.



Relevant Pages

  • Re: FTP transmission issue
    ... ftp.exe is an active mode client. ... act as a passive mode client. ... Command prompt FTP is BAD news... ... Either that or Drop your FTP server ...
    (microsoft.public.inetserver.iis.ftp)
  • Odd ftpd Problem
    ... My ftpd server fails when requesting passive mode from an internet client, ... I have a separate multi-homed server for the network firewall. ... except for the ftp passive mode. ...
    (linux.redhat.misc)
  • Re: Restricting FTP data connection port range?
    ... FTP client to passive mode when using it interactively, ... Restricting FTP data connection port range? ...
    (AIX-L)
  • Re: ftp hangs
    ... But I have just used the same Solaris 10 ftp client and connected to the HP C3600's ftp server. ... it possible that it just defaults to passive mode so that the command to ... No, I can't be sure about the HP ftp server, but I tried both with and without the "passive" command from Sun's ftp client and find it works with the HP server in either case. ...
    (comp.unix.solaris)
  • Re: Improved sftp client?
    ... > the same complaint that I have: sftp lacks many standard ftp client ... sftp *HAS ABSOLUTELY NOTHING TO DO WITH FTP* except for it's badly assigned ... The command set is different, the protocol is different, and it's ...
    (comp.security.ssh)