You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/10/09 19:23:05 UTC
DO NOT REPLY [Bug 23704] New: -
Some general comments on FTPClient
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23704>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23704
Some general comments on FTPClient
Summary: Some general comments on FTPClient
Product: Commons
Version: 1.0 Final
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Net
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: brescia@us.ibm.com
Hello... 2 quick comments about the FTPClient class:
1. It is a shame that there is no support for MGET and MPUT at the FTPClient
class level.
2. There is a comment in the Javadoc for the listNames(String pathname) method
that states:
"Obtain a list of filenames in a directory (or just the name of a given file,
which is not particularly useful)."
I just wanted to mention that I am using this method by providing a specific
filename as the pathname as a way to determine the existance of a specific file
on the FTP server. Unless there is some other way of doing this that I do not
know about, this is a very useful purpose for this method. It seems like the
Javadoc is trivializing this use and I wanted to ensure that you understood
that providing a filename and checking if the resulting names array has a
length of 1 is a great way to determine file existance on the ftp server.
I will say that the FTPClient works great. It is perfectly compatible with the
3 ftp servers I have tested it with thus far. Thanks!!!
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org