[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Net::FTP error on WinXP with firewall enabled

Jonathan Aquino

3/6/2005 6:50:00 AM

When I try to use Net::FTP (Ruby 1.8.2, WinXP), I get an error. I don't
get the error if I turn off the WinXP firewall. As you can see, passive
mode does not help.

Would someone with WinXP be willing to confirm whether the following
test case gives them an error?



irb(main):001:0> require "net/ftp"
=> true
irb(main):002:0> ftp = Net::FTP.new
=> #<Net::FTP:0x2bc26b8 @resume=false, @mon_entering_queue=[],
@mon_count=0, @debug_mode=false, @mon_owner=nil, @passive=false,
@mon_waiting_queue=[], @binary=true>
irb(main):003:0> ftp.passive=true
=> true
irb(main):004:0> ftp.connect('ftp.ruby-lang.org')
EOFError: End of file reached
from c:/ruby/lib/ruby/1.8/net/ftp.rb:211:in `readline'
from c:/ruby/lib/ruby/1.8/net/ftp.rb:211:in `getline'
from c:/ruby/lib/ruby/1.8/net/ftp.rb:221:in `getmultiline'
from c:/ruby/lib/ruby/1.8/net/ftp.rb:235:in `getresp'
from c:/ruby/lib/ruby/1.8/net/ftp.rb:251:in `voidresp'
from c:/ruby/lib/ruby/1.8/net/ftp.rb:176:in `connect'
from c:/ruby/lib/ruby/1.8/net/ftp.rb:174:in `synchronize'
from c:/ruby/lib/ruby/1.8/net/ftp.rb:174:in `connect'
from (irb):4

3 Answers

Jonathan Aquino

3/6/2005 8:33:00 AM

0

Never mind - the problem seems to have vanished after I tried some
combination of rebooting and reinstalling my virus scanner (Avast).

Hooray!

captain.

5/16/2008 11:21:00 PM

0


"ElParedon" <serwad@bellsouth.net> wrote in message
news:5oCVj.132197$Er2.76556@bignews6.bellsouth.net...
>
> "captain." <spammersmustdie@now.net> wrote in message
> news:qwyVj.1973$KB3.278@edtnps91...
>>
>> "ElParedon" <serwad@bellsouth.net> wrote in message
>> news:gKgVj.60846$%15.39821@bignews7.bellsouth.net...
>>> An Iranian airsraft lands in Beirut!
>>>
>>> Screw your boot Olmert!
>>
>> a cessna 152?
> Antonov, loaded with ammo

they should have shot it down.


Rostyslaw J. Lewyckyj

5/18/2008 2:59:00 AM

0

captain. wrote:
> "ElParedon" <serwad@bellsouth.net> wrote in message
> news:5oCVj.132197$Er2.76556@bignews6.bellsouth.net...
>> "captain." <spammersmustdie@now.net> wrote in message
>> news:qwyVj.1973$KB3.278@edtnps91...
>>> "ElParedon" <serwad@bellsouth.net> wrote in message
>>> news:gKgVj.60846$%15.39821@bignews7.bellsouth.net...
>>>> An Iranian airsraft lands in Beirut!
>>>>
>>>> Screw your boot Olmert!
>>> a cessna 152?
>> Antonov, loaded with ammo
>
> they should have shot it down.
>
Who? Why?