in reply to Re: Net::FTP Woes
in thread Net::FTP Woes
Sigh. Typo upon typo -- thanks for catching the error :) Just ran the above...#/usr/bin/perl -w use strict; use warnings; ########################################################### # # rpasafe.pl -- robot propagator attempt # ########################################################### use Net::FTP; my $host = 'ftp.ftpserver.com'; my $u = 'user'; my $p = 'pass'; my $ftp; unless ($ftp = Net::FTP->new($host)) { die "No FTP for you!\n\n"; } $ftp->login($u, $p); $ftp->binary; my @lines = $ftp->dir(); print join("\n", @lines), "\n";
Again, it seems that nothing's being returned as the main directory.C:\WINDOWS\Profiles\Gregory\Desktop\LLPSV>perl rpasafe.pl C:\WINDOWS\Profiles\Gregory\Desktop\LLPSV>
Any ideas? The FTP server definately exists and works -- I've logged in with an FTP client.
-----------------------
You are what you think.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Net::FTP Woes
by demerphq (Chancellor) on Feb 04, 2003 at 00:03 UTC | |
|
Re: Re: Re: Net::FTP Woes
by tachyon (Chancellor) on Feb 04, 2003 at 00:10 UTC | |
by chaoticset (Chaplain) on Feb 04, 2003 at 02:18 UTC |