commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rory Winston (JIRA)" <>
Subject [jira] Closed: (NET-165) FTP: using "stat" to retrieve dirlisting over control connection
Date Mon, 18 Feb 2008 00:20:34 GMT


Rory Winston closed NET-165.

    Resolution: Won't Fix

> FTP: using "stat" to retrieve dirlisting over control connection
> ----------------------------------------------------------------
>                 Key: NET-165
>                 URL:
>             Project: Commons Net
>          Issue Type: Wish
>            Reporter: Stefan Tauner
>            Priority: Minor
> dirlisting over a data connection with "list" is usually quite slow in comparision with
"stat" because the latter doesnt need to set up a data connection but gets all data back through
the control connection.
> the behaviour is defined in rfc 959 (_the_ ftp rfc) on page 33 ("STATUS (STAT)").
> i am new to commons net, so i am not sure whats the best way to implement this, but i
think an option to turn the existing FTPClient.listFiles() methods into using stat instead
of list would be the best option. that way it would not break any existing code and the upgrade
would be easy too...
> i am not sure how many server implementations are actually supporting this, but mine
does and since it would be optional (and non default) behaviour, i dont think thats a problem

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message