[
https://issues.apache.org/jira/browse/NET-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebb updated NET-450:
---------------------
Description:
In the Documentation for FTPClient there are some examples
One is
FTPClient f = new FTPClient();
f.connect(server);
f.login(username, password);
FTPFile[] files = listFiles(directory);
There is a typo on the last line.
It should be f.listFiles(directory);
Rating this as Minior as any decent Java programmer should work it out.
was:
In the Documentation for FTPClass there are some examples
One is
FTPClient f = new FTPClient();
f.connect(server);
f.login(username, password);
FTPFile[] files = listFiles(directory);
There is a typo on the last line.
It should be f.listFiles(directory);
Rating this as Minior as any decent Java programmer should work it out.
Summary: Bug in documentation for FTPClient (was: Bug in documentation
for FTPClass)
> Bug in documentation for FTPClient
> ----------------------------------
>
> Key: NET-450
> URL: https://issues.apache.org/jira/browse/NET-450
> Project: Commons Net
> Issue Type: Bug
> Components: FTP
> Affects Versions: 3.1
> Environment: Documentation on Apache web site
> Reporter: Roger Hardiman
> Priority: Minor
> Original Estimate: 5m
> Remaining Estimate: 5m
>
> In the Documentation for FTPClient there are some examples
> One is
> FTPClient f = new FTPClient();
> f.connect(server);
> f.login(username, password);
> FTPFile[] files = listFiles(directory);
> There is a typo on the last line.
> It should be f.listFiles(directory);
> Rating this as Minior as any decent Java programmer should work it out.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira