What Java FTP client library should I use?
Check out Apache commons-net, which contains FTP utilities. Off the top of my head I'm not sure if it meets all of your requirements, but it's certainly free!
open source java FTP client library
Have a look at Apache Commons Net, http://commons.apache.org/net/
It implements many internet protocols, among them is ftp.
Android FTP Library
Try using apache commons ftp
FTPClient ftpClient = new FTPClient();
ftpClient.connect(InetAddress.getByName(server));
ftpClient.login(user, password);
ftpClient.changeWorkingDirectory(serverRoad);
ftpClient.setFileType(FTP.BINARY_FILE_TYPE);
BufferedInputStream buffIn = null;
buffIn = new BufferedInputStream(new FileInputStream(file));
ftpClient.enterLocalPassiveMode();
ftpClient.storeFile("test.txt", buffIn);
buffIn.close();
ftpClient.logout();
ftpClient.disconnect();
Alternatives to commons-net FTPSClient?
ftp4j provides FTPS functionality and is, IMHO, easier to work with than the apache commons ftp client. Ftp4j is under active development (not by me).
Standard Java Classes for FTP operations
Why would your manager not want to use a proven piece of software and replace it with something that you'd have to write, test, and maintain? Your boss is an idiot - use the Apache FTP client and move on. You have more interesting business problems to solve.
Secure FTP with org.apache.commons.net.ftp.FTPClient
You can use org.apache.commons.net.ftp.FTPSClient instead of org.apache.commons.net.ftp.FTPClient to have secure ftp
http://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/net/ftp/FTPSClient.html
java sftp & ftp client library that support file and dir monitoring
The most complete is probably Jakarta Commons Net: http://commons.apache.org/net/
Related Topics
Java, Pass-By-Value, Reference Variables
Java: Infinite Loop Using Scanner In.Hasnextint()
Spring Web MVC - Validate Individual Request Params
Is There Something Like Instanceof(Class<> C) in Java
404 Error Redirect in Spring with Java Config
Java - Regular Expression Finding Comments in Code
Make Simpledateformat.Parse() Fail on Invalid Dates (E.G. Month Is Greater Than 12)
No Idea Annotations Attached to the Jdk 1.8 (C:\...), Some Issues Will Not Be Found
Find Maximum, Minimum, Sum and Average of a List in Java 8
How Can "This" of the Outer Class Be Accessed from an Inner Class
Hashcode and Equals for Hashset
Eventlisteners Using Hibernate 4.0 with Spring 3.1.0.Release
Why Does My Aes Encryption Throws an Invalidkeyexception
Differences Between Runtime/Checked/Unchecked/Error/Exception