Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > what happened with this error?

Reply
Thread Tools

what happened with this error?

 
 
Uno
Guest
Posts: n/a
 
      11-06-2011
[sorry can only paste as quotation]

> $ perl nov1.pl
> Net::FTP>>> Net::FTP(2.77)
> Net::FTP>>> Exporter(5.63)
> Net::FTP>>> Net::Cmd(2.29)
> Net::FTP>>> IO::Socket::INET(1.31)
> Net::FTP>>> IO::Socket(1.31)
> Net::FTP>>> IO::Handle(1.2
> Net::FTP=GLOB(0x8c5997<<< 220 FTP Server ready.
> Net::FTP=GLOB(0x8c5997>>> USER u63263303
> Net::FTP=GLOB(0x8c5997<<< 331 Password required for u63263303
> Net::FTP=GLOB(0x8c5997>>> PASS ....
> Net::FTP=GLOB(0x8c5997<<< 230 User u63263303 logged in
> Net::FTP=GLOB(0x8c5997>>> TYPE I
> Net::FTP=GLOB(0x8c5997<<< 200 Type set to I
> Net::FTP=GLOB(0x8c5997>>> CWD /vids/
> Net::FTP=GLOB(0x8c5997<<< 250 CWD command successful
> Net::FTP=GLOB(0x8c5997>>> ALLO 43230955
> Net::FTP=GLOB(0x8c5997<<< 202 No storage allocation necessary
> Net::FTP=GLOB(0x8c5997>>> PASV
> Net::FTP=GLOB(0x8c5997<<< 227 Entering Passive Mode (50,21,179,12,240,67).
> Net::FTP=GLOB(0x8c5997>>> STOR munga1.flv
> Net::FTP=GLOB(0x8c5997<<< 150 Opening BINARY mode data connection for munga1.flv
> Net::FTP=GLOB(0x8c5997: Timeout at /usr/share/perl/5.10/Net/FTP/dataconn.pm line 74
> Use of uninitialized value $@ in concatenation (.) or string at nov1.pl line 15.
> put failed
> $


> $ cat nov1.pl
> #!/usr/bin/perl -w
> use strict;
> use Net::FTP;
> my $domain = 'www.altgreendesigns.com';
> my $username = 'u63263303';
> my $password = '';
> my $file = 'munga1.flv';
> my $file2 = 'dl1.flv';
>
> my $ftp = Net::FTP->new($domain, Debug=>1, Passive=>1) or die "Can't connect: $@\n";
> $ftp->login($username, $password) or die "Couldn't login\n";
> $ftp->binary();
> # $ftp->mkdir('/vids/');
> $ftp->cwd('/vids/') or die "death $@\n";
> $ftp->put($file) or die "put failed $@\n";
> $ftp->get($file, $file2) or die "get failed $@\n";
> $


Maybe something with Passive?
--
Uno
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modding, Where to next? What happened to it? What is it r... Silverstrand Front Page News 0 10-24-2005 01:50 PM
FireFox: What happened?! Robert Firefox 7 11-15-2004 08:20 PM
Wireless Linksys Router Reset--What happened? =?Utf-8?B?TW9yZGlkbw==?= Wireless Networking 1 10-08-2004 11:28 AM
Wot has happened to FireBird Linda Leverno Firefox 1 07-10-2004 06:04 PM
Something Crazy Happened !!! nikoli Firefox 0 12-12-2003 04:22 AM



Advertisments