B
bill
Hi All,
I'm trying to use Net::FTP::Recursive 'rdir' to return recursive
directory listings.
I tried both my own version of a script, and when that did not work, I
tried the script
included in the 2.0 version of Net::FTP::Recursive. I turned on Debug,
and here is the
output (same for both scripts). The script hangs on LIST, then times
out after a few minutes.
I've ftp'ed directory to this site and verified that the directory is
there and has
sub-directories. I've done a little searching for info on the 425 eror
msg, but did not find much useful. I'm running this on Mac OS/X 10.4.8,
perl 5.8.6, Net::FTP::Recursive 2.0.
Can someone help?
Thanks, Bill
$ nftp.pl ftp.ciac.org anonymous (e-mail address removed) /pub /tmp/rec.txt
Net::FTP>>> Net::FTP(2.75)
Net::FTP>>> Exporter(5.58)
Net::FTP>>> Net::Cmd(2.26)
Net::FTP>>> IO::Socket::INET(1.27)
Net::FTP>>> IO::Socket(1.28)
Net::FTP>>> IO::Handle(1.24)
Net::FTP=GLOB(0x18ad96c)<<< 220 ciac.org FTP server ready.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> user anonymous
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 331 Guest login ok, send your
complete e-mail address as password.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> PASS ....
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 230 Guest login ok, access
restrictions apply.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> TYPE I
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 200 Type set to I.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> CWD /pub
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 250 CWD command successful.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> PWD
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 257 "/pub" is current directory.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> PWD
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 257 "/pub" is current directory.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> PORT 192,168,0,10,194,78
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 200 PORT command successful.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> LIST
Net::FTP::Recursive=GLOB(0x18ad96c): Timeout at /Users/wmb/bin/nftp.pl
line 33
Net::FTP::Recursive=GLOB(0x18ad96c)>>> PWD
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 425 Can't build data connection:
Operation already in progress.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> QUIT
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 257 "/pub" is current directory.
I'm trying to use Net::FTP::Recursive 'rdir' to return recursive
directory listings.
I tried both my own version of a script, and when that did not work, I
tried the script
included in the 2.0 version of Net::FTP::Recursive. I turned on Debug,
and here is the
output (same for both scripts). The script hangs on LIST, then times
out after a few minutes.
I've ftp'ed directory to this site and verified that the directory is
there and has
sub-directories. I've done a little searching for info on the 425 eror
msg, but did not find much useful. I'm running this on Mac OS/X 10.4.8,
perl 5.8.6, Net::FTP::Recursive 2.0.
Can someone help?
Thanks, Bill
$ nftp.pl ftp.ciac.org anonymous (e-mail address removed) /pub /tmp/rec.txt
Net::FTP>>> Net::FTP(2.75)
Net::FTP>>> Exporter(5.58)
Net::FTP>>> Net::Cmd(2.26)
Net::FTP>>> IO::Socket::INET(1.27)
Net::FTP>>> IO::Socket(1.28)
Net::FTP>>> IO::Handle(1.24)
Net::FTP=GLOB(0x18ad96c)<<< 220 ciac.org FTP server ready.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> user anonymous
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 331 Guest login ok, send your
complete e-mail address as password.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> PASS ....
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 230 Guest login ok, access
restrictions apply.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> TYPE I
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 200 Type set to I.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> CWD /pub
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 250 CWD command successful.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> PWD
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 257 "/pub" is current directory.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> PWD
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 257 "/pub" is current directory.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> PORT 192,168,0,10,194,78
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 200 PORT command successful.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> LIST
Net::FTP::Recursive=GLOB(0x18ad96c): Timeout at /Users/wmb/bin/nftp.pl
line 33
Net::FTP::Recursive=GLOB(0x18ad96c)>>> PWD
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 425 Can't build data connection:
Operation already in progress.
Net::FTP::Recursive=GLOB(0x18ad96c)>>> QUIT
Net::FTP::Recursive=GLOB(0x18ad96c)<<< 257 "/pub" is current directory.