> -----Original Message-----
> From: Jeff A [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 27, 2001 11:47 AM
> To: [EMAIL PROTECTED]; Bob Showalter
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: Net::FTP question
>
>
> I've actually tried that
> but when I do dir() or ls()
> I get the LIST command 125 Data Connection already open;
> No listing appears on the screen although I know that there
> are files in
> the driectory.
Jeff, try this simple script.
#!/usr/bin/perl
use strict;
use Net::FTP;
my $ftp = new Net::FTP 'ftp.perl.org' or die;
$ftp->login('anonymous', '[EMAIL PROTECTED]') or die;
print "$_\n" for $ftp->ls;
Output that I get:
etc
pub
xmms
debian
linux-router
lost+found
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]