zigster has asked for the wisdom of the Perl Monks concerning the following question:
The op of this script ends up printinguse strict; use Net::FTP; my $server = 'localhost'; my $user = 'user'; my $password = 'pw'; my $targetdir = '.'; my $ftp_file = '../flange'; print("Sending ftp file: ".$ftp_file); my $ftp_session = Net::FTP->new($server, Debug => 1) or die "No ftp co +nnection could be established"; $ftp_session->login($user, $password); $ftp_session->cwd($targetdir); $ftp_session->type("a"); $ftp_session->put($ftp_file); $ftp_session->quit();
$ perl -v This is perl, v5.6.0 built for sun4-solarisI would REALLY apreciate any help with this problem.
Thanks
--
Zigster
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with new failing within Net::FTP
by c-era (Curate) on Feb 22, 2001 at 18:22 UTC | |
by zigster (Hermit) on Feb 22, 2001 at 18:45 UTC | |
|
Re: Problem with new failing within Net::FTP
by smoo (Initiate) on Feb 22, 2001 at 16:52 UTC | |
|
Re: Problem with new failing within Net::FTP
by pileswasp (Monk) on Feb 23, 2001 at 20:59 UTC | |
by zigster (Hermit) on Feb 23, 2001 at 21:58 UTC | |
by pileswasp (Monk) on Mar 06, 2001 at 19:44 UTC | |
|
Re: Problem with new failing within Net::FTP
by asmodai (Novice) on Feb 22, 2001 at 19:06 UTC | |
by zigster (Hermit) on Feb 22, 2001 at 19:19 UTC | |
|
Re: Problem with new failing within Net::FTP
by princepawn (Parson) on Feb 23, 2001 at 05:15 UTC |