Project

General

Profile

Actions

Bug #7497

closed

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

Added by rubyhack (first last) over 11 years ago. Updated over 11 years ago.

Status:
Rejected
Target version:
-
ruby -v:
1.9 (perhaps 1.8)
Backport:
[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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0