For uploading a file named "localFile.txt" to the server as "remoteFile.txt", you would use:
FileInputStream in = new FileInputStream("localFile.txt");
boolean success = ftp._____("remoteFile.txt", in);
For uploading a file named "localFile.txt" to the server as "remoteFile.txt", you would use:
FileInputStream in = new FileInputStream("localFile.txt");
boolean success = ftp._____("remoteFile.txt", in);