Forum: Ruby-core [ruby-trunk - Bug #7497][Open] net/ftp.rb can't list ftp sites behind a firewall

Posted by rubyhack (first last) (Guest)
on 2012-12-02 11:54
(Received via mailing list)
Issue #7497 has been reported by rubyhack (first last).

----------------------------------------
Bug #7497: net/ftp.rb can't list ftp sites behind a firewall
https://bugs.ruby-lang.org/issues/7497

Author: rubyhack (first last)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: 1.9 (perhaps 1.8)


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
Posted by rubyhack (first last) (Guest)
on 2012-12-02 12:04
(Received via mailing list)
Issue #7497 has been updated by rubyhack (first last).


sorry
Category: lib

----------------------------------------
Bug #7497: net/ftp.rb can't list ftp sites behind a firewall
https://bugs.ruby-lang.org/issues/7497#change-34313

Author: rubyhack (first last)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: 1.9 (perhaps 1.8)


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
Posted by zzak (Zachary Scott) (Guest)
on 2012-12-02 20:09
(Received via mailing list)
Issue #7497 has been updated by zzak (Zachary Scott).

Category set to lib
Assignee set to shugo (Shugo Maeda)


----------------------------------------
Bug #7497: net/ftp.rb can't list ftp sites behind a firewall
https://bugs.ruby-lang.org/issues/7497#change-34325

Author: rubyhack (first last)
Status: Open
Priority: Normal
Assignee: shugo (Shugo Maeda)
Category: lib
Target version:
ruby -v: 1.9 (perhaps 1.8)


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
Posted by rubyhack (first last) (Guest)
on 2012-12-03 08:22
(Received via mailing list)
Issue #7497 has been updated by rubyhack (first last).


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 .

----------------------------------------
Bug #7497: net/ftp.rb can't list ftp sites behind a firewall
https://bugs.ruby-lang.org/issues/7497#change-34349

Author: rubyhack (first last)
Status: Open
Priority: Normal
Assignee: shugo (Shugo Maeda)
Category: lib
Target version:
ruby -v: 1.9 (perhaps 1.8)


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
Posted by Vít Ondruch (vo_x)
on 2012-12-03 08:25
(Received via mailing list)
Issue #7497 has been updated by vo.x (Vit Ondruch).

Status changed from Open to Rejected


----------------------------------------
Bug #7497: net/ftp.rb can't list ftp sites behind a firewall
https://bugs.ruby-lang.org/issues/7497#change-34350

Author: rubyhack (first last)
Status: Rejected
Priority: Normal
Assignee: shugo (Shugo Maeda)
Category: lib
Target version:
ruby -v: 1.9 (perhaps 1.8)


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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.