net/ftp module to support optional path parameter for status
hey , in the ftp rfc one can choose to use "STAT" raw command with a path as a parameter.
the result is the same as list only faster and over the control plane (i.e the same tcp session)
this feature can help developers make faster implementations of their clients if they wish to without needing to send raw commands and doesn't have to break backward compatibility ,
the change would be very easy to implement.
3 to 4 lines of code.
in fact there is a PR pending for it right now. :)
Add a new optinal argument pathname to FTP#stat.
Based on the patch by soleboxy.
[Fix GH-1478] [ruby-core:78240] [Feature #12965]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e