First Program

I’m sure that I am but I have no problem using FTP from the command line.
Nor do I have any problem doing a CD and LS from Ruby. It’s only when I try
to retrieve the file that I run into this.

···

From: Dave Thomas Dave@PragmaticProgrammer.com
Reply-To: ruby-talk@ruby-lang.org
To: ruby-talk@ruby-lang.org (ruby-talk ML)
Subject: Re: First Program
Date: Thu, 18 Jul 2002 00:43:58 +0900
MIME-Version: 1.0
Received: from [210.251.121.214] by hotmail.com (3.2) with ESMTP id
MHotMailBEFEDBF3000D40043208D2FB79D608630; Wed, 17 Jul 2002 08:45:04 -0700
Received: from helium.ruby-lang.org (localhost [127.0.0.1])by
helium.ruby-lang.org (Postfix) with ESMTPid 61FE71521; Thu, 18 Jul 2002
00:43:58 +0900 (JST)
Received: from zip.local.thomases.com (pragdave210.august.net
[216.87.136.210])by helium.ruby-lang.org (Postfix) with ESMTP id
7F23E1264for ruby-talk@ruby-lang.org; Thu, 18 Jul 2002 00:43:56 +0900
(JST)
Received: (from dave@localhost)by zip.local.thomases.com (8.11.2/8.11.2) id
g6HFhv417867;Wed, 17 Jul 2002 10:43:57 -0500
From ruby-talk-admin@ruby-lang.org Wed, 17 Jul 2002 08:46:27 -0700
Posted: 17 Jul 2002 10:43:57 -0500
Sender: dave@thomases.com
Message-Id: m27kjuxsua.fsf@zip.local.thomases.com
In-Reply-To: F971KeZ54yEpG9I8kFI0000ebe2@hotmail.com
References: F971KeZ54yEpG9I8kFI0000ebe2@hotmail.com
X-ML-Name: ruby-talk
X-Mail-Count: 44741
X-MLServer: fml [fml 3.0pl#17]; post only (anyone can post)
X-ML-Info: If you have a question,please contact
ruby-talk-admin@ruby-lang.org;mailto:ruby-talk-admin@ruby-lang.org
Organization: The Pragmatic Programmers, LLC
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Solid Vapor)
X-Authentication-Warning: zip.local.thomases.com: dave set sender to
Dave@Thomases.com using -f
Precedence: bulk
Lines: 9

“nathan phillips” nathanpp@hotmail.com writes:

It fails on gettextfile. The error is:
c:/ruby/lib/ruby/1.6/net/ftp.rb:218:in `transfercmd’: 200 PORT command
successful. (Net::FTPReplyError)

Are you running through a firewall?


Chat with friends online, try MSN Messenger: http://messenger.msn.com