Top "Apache-commons-net" questions

Apache Commons Net™ library implements the client side of many basic Internet protocols.

FTPClient - Java, upload file

I'm trying to do a VERY simple file upload. I want a Java FTPClient that can upload any file I …

java ftp ftp-client apache-commons-net
Uploading a file to a FTP server from android phone?

Following is the code that's suppose to create a text document and upload it to my FTP server. For some …

java android ftp apache-commons apache-commons-net
FtpClient storeFile always return False

Please figure this out. The code runs properly without any exception. try { FTPClient ftp = new FTPClient(); ftp.connect(server); if(!…

java ftp ftp-client apache-commons-net
How to copy a file on the FTP server to a directory on the same server in Java?

I'm using Apache Commons FTP to upload a file. Before uploading I want to check if the file already exists …

java ftp client-server ftp-client apache-commons-net
How to import org.apache.commons.net.ftp.FTPClient

In Eclipse, the following import... import org.apache.commons.net.ftp.FTPClient; ...produces the following error message... The import org.…

java eclipse import ftp-client apache-commons-net
Apache Commons FTPClient Hanging

We are using the following Apache Commons Net FTP code to connect to an FTP server, poll some directories for …

java ftp ftp-client apache-commons-net
Setting connect timeout for FtpClient

When using ftpClient.connect with an existing host who has no ftp service active, timeout occurs only after 5 minutes, which …

java ftp-client apache-commons-net
FTPClient download file failed,the retrieveFile() method replyCode=550

/* I run a FTP server on localhost.when I download files use ftpClient.retrieveFile() method,it's replyCode is 550 . I read …

java ftp apache-commons-net
Transfer raw binary with apache commons-net FTPClient?

UPDATE: Solved I was calling FTPClient.setFileType() before I logged in, causing the FTP server to use the default mode (…

java ftp binary-data apache-commons-net
Checking file existence on FTP server

Is there an efficient way to check the existence of a file on a FTP server? I'm using Apache Commons …

java ftp apache-commons-net