My favorites | Sign in
Project Logo
                
Search
for
Updated Jan 24, 2008 by trustin.j
Main  
One-sentence summary of this page.

Welcome to GrooveItFTP

GrooveItFTP is very simple and easy-to-use. Please refer to below download URL.

http://code.google.com/p/grooveit-ftp/downloads/list

Features

Sample Code

import org.grooveit.ftp.GrooveItFTP;
import java.io.File;
import java.io.IOException;

public class SampleFtpClient {
        public static void main(String[] args) throws IOException{
                GrooveItFTP ftp = new GrooveItFTP();
                ftp.connect(host, port, userid, password);

                ftp.pwd(); //See the current directory.
                ftp.cwd(dir); //Change Directory.
                ftp.mkdir(dir); //Make Directory.
                ftp.rmdir(dir); //Remove Directory.
                ftp.put(file); //File upload.
                ftp.disconnect(); //Disconnection.
        }
}

Sign in to add a comment
Hosted by Google Code