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
To: (ruby-talk ML)
Subject: Re: First Program
Date: Thu, 18 Jul 2002 00:43:58 +0900
MIME-Version: 1.0
Received: from [] by (3.2) with ESMTP id
MHotMailBEFEDBF3000D40043208D2FB79D608630; Wed, 17 Jul 2002 08:45:04 -0700
Received: from (localhost [])by (Postfix) with ESMTPid 61FE71521; Thu, 18 Jul 2002
00:43:58 +0900 (JST)
Received: from (
[])by (Postfix) with ESMTP id
7F23E1264for; Thu, 18 Jul 2002 00:43:56 +0900
Received: (from dave@localhost)by (8.11.2/8.11.2) id
g6HFhv417867;Wed, 17 Jul 2002 10:43:57 -0500
From Wed, 17 Jul 2002 08:46:27 -0700
Posted: 17 Jul 2002 10:43:57 -0500
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;
Organization: The Pragmatic Programmers, LLC
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Solid Vapor)
X-Authentication-Warning: dave set sender to using -f
Precedence: bulk
Lines: 9

“nathan phillips” 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: