Project

General

Profile

Bug #7497

net/ftp.rb can't list ftp sites behind a firewall

Added by first last about 4 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
ruby -v:
1.9 (perhaps 1.8)
[ruby-core:50478]

Description

net/ftp.rb can't list ftp sites behind a firewall ,
to solve this issue ftp passive mode must be used , the support is in the code but needs means to activate it !
so add to the FTP class attributes to change and access passive state :
attr_reader :passive
attr_writer :passive

and a program can use:
ftp.passive = true
to use passive mode

History

#1 [ruby-core:50479] Updated by first last about 4 years ago

sorry
Category: lib
and the correction is better writen as :
attr_accessor :passive

#2 [ruby-core:50486] Updated by Zachary Scott about 4 years ago

  • Category set to lib
  • Assignee set to Shugo Maeda

#3 Updated by first last about 4 years ago

thank you zzak.
sorry again , any one can close this issue, after downloading 1.8.6 I realized that the attr_accessor :passive
is in the FTP class. so this is a good lesson as a start up to verify that it is undead a bug before reporting it.
I have corrected my application .

#4 [ruby-core:50512] Updated by Vit Ondruch about 4 years ago

  • Status changed from Open to Rejected

Also available in: Atom PDF