Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Greatrex authored and Josh Greatrex committed May 1, 2014
1 parent 878aa8e commit 17c036a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Quick FTP Example
Client client = new ClientFactory().createClient(ClientType.FTP);
client.setHost("a.host.name");
client.setPort(21);
client.setCredentials("username", "password");
client.setCredentials(new UserCredentials("username", "password");

Connection connection = client.connect();
connection.setRemoteDirectory("files/todownload");
Expand Down

0 comments on commit 17c036a

Please sign in to comment.