Re: Help: Auto login FTP modules
- From: "Thrill5" <nospam@xxxxxxxxxxxxx>
- Date: Sat, 15 Dec 2007 15:52:46 -0500
"Ron Bergin" <rkb@xxxxxxxxxx> wrote in message
news:72a1ba00-d838-4c31-b390-8ece92b06dbb@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Dec 15, 6:12 am, Amy Lee <openlinuxsou...@xxxxxxxxx> wrote:
Hello,
Is there any FTP auto-login function in Perl modules?
Thanks.
Regards,
Amy Lee
I assume you mean that you're wanting to avoid including your username/
password in the script. That is accomplished by using ssh keys.
You'll want to look at Net::SFTP or Net::SSH2::SFTP or Net::SCP
http://search.cpan.org/~dbrobins/Net-SFTP-0.10/lib/Net/SFTP.pm
http://search.cpan.org/~dbrobins/Net-SSH2-0.18/lib/Net/SSH2/SFTP.pm
http://search.cpan.org/~ivan/Net-SCP-0.08/SCP.pm
The above solution requires that you have an SFTP or SCP server installed,
if you need FTP try Net:FTP
http://search.cpan.org/~gbarr/libnet-1.22/Net/FTP.pm
.
- Follow-Ups:
- Re: Help: Auto login FTP modules
- From: Amy Lee
- Re: Help: Auto login FTP modules
- References:
- Help: Auto login FTP modules
- From: Amy Lee
- Re: Help: Auto login FTP modules
- From: Ron Bergin
- Help: Auto login FTP modules
- Prev by Date: Re: Using the DBI to connect to an Oracle server w/o connecting to a database
- Next by Date: Re: not sure why I am getting the following warning "Useless use of a constant in void context"
- Previous by thread: Re: Help: Auto login FTP modules
- Next by thread: Re: Help: Auto login FTP modules
- Index(es):
Relevant Pages
|