[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] 'ambiguous' messages trying to use NET::Ftp



On Sat, 9 May 1998 08:44:22 +0100, R Waechter wrote:
>
>Hi all,
>
>This is what I'm doing:
>
>....
>use Net::FTP;
>....
>         $ftp = Net::FTP->new($ftpSite);
>         $copyBack = $ftp->login($userName, $passWord);
>         if ($copyBack) { $copyBack = $ftp->cwd($ftp_digests); }
>         if ($copyBack) { $copyBack = $ftp->put($outf); }
>         if ($copyBack) { $copyBack = $ftp->quit; }
>
>         if (!($copyBack)) {        print "FTP FAILED\n"; }
>
>Did I miss a step, or is this a known problem?
>
>Note that the file does not complete, only about 32k of it gets ftp'd.
>
># Ambiguous use of {index} resolved to {"index"}.

All of these can be ignored. If they bother you, it's either because
you're using -w or use strict or because use strict is used in
InternetConfig.pm.

>
>
>
>Net::FTP=GLOB(0x311d4f4)<<< 250 CWD command successful.
>Net::FTP=GLOB(0x311d4f4)>>> PORT 195,74,130,42,8,6
>
>Net::FTP=GLOB(0x311d4f4)<<< 200 PORT command successful.
>Net::FTP=GLOB(0x311d4f4)>>> STOR 1108.html
>
>Net::FTP=GLOB(0x311d4f4)<<< 150 Opening ASCII mode data connection for
>1108.html.
>Net::FTP=GLOB(0x311d4f4)<<< 426 Data Connection: Connection reset by
peer.
>Net::FTP=GLOB(0x311d4f4)>>> QUIT
>
>Net::FTP=GLOB(0x311d4f4)<<< 221 Goodbye.

But "connection reset by peer" is serious, and there's not much you can do
as far as I know. (Let me guess, a Solaris server?) I've had the same
trouble with certain servers, I usually just give up and use Fetch or
Anarchie. I've not had the need to find out what the message actually
means or what the potential causes are



-------
Paul J. Schinder
schinder@pobox.com


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch