Re: secure ftp using ssl?
by lestrrat (Deacon) on Nov 13, 2002 at 07:54 UTC
|
The only thing I know that is close to what you are suggesting is "sftp", which is Secure FTP -- and I believe that has nothing to do with ssl, so I may be wrong. There is a Net::SFTP module on CPAN, but I've never used it so I can't comment on the module itself...
| [reply] [Watch: Dir/Any] |
Re: secure ftp using ssl?
by Enlil (Parson) on Nov 13, 2002 at 08:29 UTC
|
I think what you are looking for is an SSH client which usually comes with an sftp, you can use as previously suggested Net::SFTP module in a script or just get the client from the aforementioned link(s).-enlil | [reply] [Watch: Dir/Any] |
Re: secure ftp using ssl?
by jplindstrom (Monsignor) on Nov 13, 2002 at 09:44 UTC
|
If you go the Net::SFTP route, know that it's somewhat of a pain to install. But I wrote down the dependency order when I installed it, so this node might help.
Good luck!
/J
| [reply] [Watch: Dir/Any] |
Re: secure ftp using ssl?
by vek (Prior) on Nov 13, 2002 at 13:48 UTC
|
Net::SFTP is the way to go here. I'm using it in a project right now in fact. Be aware that while Net::SFTP is easy to install, it's main dependancy Net::SSH::Perl is all kinds of fun to install and has many dependancies. You'd be wise to use CPAN.pm to install it.
Once installed, you'll find the API slightly different if you are used to Net::FTP but you should be up to speed in no time.
Update: Corrected some evil typos.
--
vek
-- | [reply] [Watch: Dir/Any] |
Re: secure ftp using ssl?
by Kanji (Parson) on Nov 13, 2002 at 14:37 UTC
|
If you really do mean FTP-SSL/TLS (aka ftps), I don't think there's anything pre-existing on CPAN that will be of help, but you could probably subclass Net::FTP (alt.) to do what you need with the aid of Crypt::SSLeay (alt.) or Net::SSLeay (alt.).
If that's beyond your current skill set, you might want to try BSDftpd-ssl (which has an ftps client) or lftp.
--k.
| [reply] [Watch: Dir/Any] |
Re: secure ftp using ssl?
by waswas-fng (Curate) on Nov 13, 2002 at 16:27 UTC
|
First off, give us the exact product the customer is using, there are "standard" secure ftpds (sftp, ftps etc) and then there are proprietary ones ("ftpd" that require their own clients and don't really use an open standard). Once you toss that info our way we may be able to give you a little better advice.
-Waswas | [reply] [Watch: Dir/Any] |
|
I am currently in the same situation as yourself, but I am the bastard on the windows platform.
Chances are that your customer is using ftps.
check out this link for more info on ftps and its several different variations... and a handy table chock full of compatible clients for a wide range of platforms:
http://www.ford-hutchinson.com/~fh-1-pfh/ftps-ext.html
| [reply] [Watch: Dir/Any] |
Re: secure ftp using ssl?
by zentara (Archbishop) on Nov 13, 2002 at 15:05 UTC
|
Hi, I havn't utilized the feature yet, but the X11 ftp client
"gftp" has an option to use ssh2 to connect. It sounds like
that is what you are looking for. | [reply] [Watch: Dir/Any] |