rdp4j
rdp4j copied to clipboard
user guide example ftp doesn't connect
In the User Guide, the example FtpPolledDirectory is setup like:
String host = "ftp.mozilla.org";
String workingDirectory = "pub/addons";
String username = "anonymous";
String password = "anonymous";
PolledDirectory polledDirectory = new FtpDirectory(host, workingDirectory, username, password);
but the connection never seems to be established with that host and working directory. I was able to use the example by switching to:
String host = "ftp.cs.brown.edu";
String workingDirectory = "pub/papers/compgeo/jgaa/accepted/2002/CVS";
Thanks! It's been a while since I did that example. Probably they changed things on server side. I'll update the User Guide.
/alex
User guide is updated.
and here is the reason for the old example not working anymore: https://blog.mozilla.org/it/2015/07/27/product-delivery-migration-what-is-changing-when-its-changing-and-the-impacts/
Thanks!