This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am trying to upload a file using FTP file upload technique in JAVA(FTPClient). The code works when I pass the filename through a text field, but when I use a file type(to select a file from the system) the file does not get uploaded properly. What could be the problem? Pls help..