xkpFTP Java Component

How to use.

SetUp Eclipse IDE

First add .jar file to you project.

Next import
import cls.clsFTP;

Next create a new class.
clsFTP ftp = new clsFTP("ftphost","username","password");

Open FTP connection
ftp.openFTP();

File upload
ftp.uploadFTP("remote file","local file");

File download
ftp.downloadFTP("remote file","local file");

Close FTP connection
ftp.closeFTP();

 

Last edit: Xakepob engineering IT 2014-03-30