In my application there is a requirement of uploading the file on FTP server. How to upload file on FTP Server in Java?
There are API in Java which can be used for this purpose. Some API's are free and others are commercial. But Apache FTPClient api is good and can be used in Java applications.
Read FTP File Upload in Java for more explanation and example code.