Feature #12965

net/ftp module to support optional path parameter for status

Added by solebox (sole box) about 4 years ago. Updated about 4 years ago.

Target version:


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. :)

Updated by solebox (sole box) about 4 years ago

  • Assignee set to ruby-core

Updated by hsbt (Hiroshi SHIBATA) about 4 years ago

  • Assignee deleted (ruby-core)

Updated by shugo (Shugo Maeda) about 4 years ago

  • Status changed from Open to Closed

Applied in changeset r56879.

Add a new optinal argument pathname to FTP#stat.

Based on the patch by soleboxy.
[Fix GH-1478] [ruby-core:78240] [Feature #12965]

Also available in: Atom PDF