Help: Login FTP
Hello,
I wanna write a script that it can login the FTP server and go to the
specific directory to get the file list and download files. But I don't
know how to pass the user name part and password part. The FTP server is
an anonymous server.
My question is: Are there any Perl modules than can help users login FTP
without password and user name? Furthermore, which modules can help me get
file lists like "ls -l" in FTP server?
Thank you very much~
Regards,
Amy Lee
Re: Help: Login FTP
1) Go to http://search.cpan.org/
2) In the textbox enter "FTP"
3) Click on the first result
4) Read & meditate
Amy Lee wrote:
> Hello,
>
> I wanna write a script that it can login the FTP server and go to the
> specific directory to get the file list and download files. But I don't
> know how to pass the user name part and password part. The FTP server is
> an anonymous server.
>
> My question is: Are there any Perl modules than can help users login FTP
> without password and user name? Furthermore, which modules can help me get
> file lists like "ls -l" in FTP server?
>
> Thank you very much~
>
> Regards,
>
> Amy Lee
Re: Help: Login FTP
On Thu, 17 Jan 2008 16:22:18 +0100, Peter Ludikovsky wrote:
> 1) Go to http://search.cpan.org/
> 2) In the textbox enter "FTP"
> 3) Click on the first result
> 4) Read & meditate
>
> Amy Lee wrote:
>> Hello,
>>
>> I wanna write a script that it can login the FTP server and go to the
>> specific directory to get the file list and download files. But I don't
>> know how to pass the user name part and password part. The FTP server is
>> an anonymous server.
>>
>> My question is: Are there any Perl modules than can help users login FTP
>> without password and user name? Furthermore, which modules can help me get
>> file lists like "ls -l" in FTP server?
>>
>> Thank you very much~
>>
>> Regards,
>>
>> Amy Lee
Thanks your advice. However I've done this before I posted this article.
There are so many modules about FTP, I can't find what actually I need. So
could you tell me more details?
TIA.
Amy
Re: Help: Login FTP
On Jan 17, 7:40 am, Amy Lee <openlinuxsou... [at] gmail.com> wrote:
> On Thu, 17 Jan 2008 16:22:18 +0100, Peter Ludikovsky wrote:
> > 1) Go tohttp://search.cpan.org/
> > 2) In the textbox enter "FTP"
> > 3) Click on the first result
> > 4) Read & meditate
>
> > Amy Lee wrote:
> >> Hello,
>
> >> I wanna write a script that it can login the FTP server and go to the
> >> specific directory to get the file list and download files. But I don't
> >> know how to pass the user name part and password part. The FTP server is
> >> an anonymous server.
>
> >> My question is: Are there any Perl modules than can help users login FTP
> >> without password and user name? Furthermore, which modules can help me get
> >> file lists like "ls -l" in FTP server?
>
> >> Thank you very much~
>
> >> Regards,
>
> >> Amy Lee
>
> Thanks your advice. However I've done this before I posted this article.
> There are so many modules about FTP, I can't find what actually I need. So
> could you tell me more details?
>
> TIA.
>
> Amy
http://search.cpan.org/~gbarr/libnet-1.22/Net/FTP.pm
Re: Help: Login FTP
On Jan 17, 7:40 am, Amy Lee <openlinuxsou... [at] gmail.com> wrote:
> On Thu, 17 Jan 2008 16:22:18 +0100, Peter Ludikovsky wrote:
> > 1) Go tohttp://search.cpan.org/
> > 2) In the textbox enter "FTP"
> > 3) Click on the first result
> > 4) Read & meditate
>
> > Amy Lee wrote:
> >> Hello,
>
> >> I wanna write a script that it can login the FTP server and go to the
> >> specific directory to get the file list and download files. But I don't
> >> know how to pass the user name part and password part. The FTP server is
> >> an anonymous server.
>
> >> My question is: Are there any Perl modules than can help users login FTP
> >> without password and user name? Furthermore, which modules can help me get
> >> file lists like "ls -l" in FTP server?
>
> >> Thank you very much~
>
> >> Regards,
>
> >> Amy Lee
>
> Thanks your advice. However I've done this before I posted this article.
> There are so many modules about FTP, I can't find what actually I need. So
> could you tell me more details?
>
> TIA.
>
> Amy
http://search.cpan.org/~gbarr/libnet-1.22/Net/FTP.pm
Re: Help: Login FTP
On Thu, 17 Jan 2008 08:08:42 -0800, Ron Bergin wrote:
> On Jan 17, 7:40 am, Amy Lee <openlinuxsou... [at] gmail.com> wrote:
>> On Thu, 17 Jan 2008 16:22:18 +0100, Peter Ludikovsky wrote:
>> > 1) Go tohttp://search.cpan.org/
>> > 2) In the textbox enter "FTP"
>> > 3) Click on the first result
>> > 4) Read & meditate
>>
>> > Amy Lee wrote:
>> >> Hello,
>>
>> >> I wanna write a script that it can login the FTP server and go to the
>> >> specific directory to get the file list and download files. But I don't
>> >> know how to pass the user name part and password part. The FTP server is
>> >> an anonymous server.
>>
>> >> My question is: Are there any Perl modules than can help users login FTP
>> >> without password and user name? Furthermore, which modules can help me get
>> >> file lists like "ls -l" in FTP server?
>>
>> >> Thank you very much~
>>
>> >> Regards,
>>
>> >> Amy Lee
>>
>> Thanks your advice. However I've done this before I posted this article.
>> There are so many modules about FTP, I can't find what actually I need. So
>> could you tell me more details?
>>
>> TIA.
>>
>> Amy
>
> http://search.cpan.org/~gbarr/libnet-1.22/Net/FTP.pm
Thank you very much! I've got it.
Amy
Re: Help: Login FTP
In article <1200583365.481814 [at] nntpcache01.si.eunet.at>, Peter
Ludikovsky <darthludi [at] gmail.com> wrote:
[top-posting fixed]
> Amy Lee wrote:
> > Hello,
> >
> > I wanna write a script that it can login the FTP server and go to the
> > specific directory to get the file list and download files. But I don't
> > know how to pass the user name part and password part. The FTP server is
> > an anonymous server.
> >
> > My question is: Are there any Perl modules than can help users login FTP
> > without password and user name? Furthermore, which modules can help me get
> > file lists like "ls -l" in FTP server?
> 1) Go to http://search.cpan.org/
> 2) In the textbox enter "FTP"
> 3) Click on the first result
> 4) Read & meditate
.... or trying entering 'perldoc -q ftp' at a command-line prompt.
--
Jim Gibson
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Re: Help: Login FTP
Amy Lee <openlinuxsource [at] gmail.com> wrote:
> On Thu, 17 Jan 2008 16:22:18 +0100, Peter Ludikovsky wrote:
>
>> 1) Go to http://search.cpan.org/
>> 2) In the textbox enter "FTP"
>> 3) Click on the first result
>> 4) Read & meditate
> Thanks your advice. However I've done this before I posted this article.
> There are so many modules about FTP, I can't find what actually I need. So
> could you tell me more details?
You appear to not have followed step 3...
--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"