|
|||
|
because there are no topics here in this board i'll start one
![]() Anyway, i've coded a simple java ftp client that you can use to connect to an ftp and download files to your disk. At the moment the features are limited but i'll work on that later if anyone wants me to code more features. ![]() btw, nice smilies. care you tell me where you got them from? ![]() ![]() ![]() code: Java Code:
/*--------------------------------------------------------------------------
Main class
*****************
By: deAppel http://www.engineeringserver.com
Contact: info [@] engineeringserver.com
Version: 29/07/2008
"*****************
Note: an FTP console client that download files on a remote server
//----------------------------------------------------------------------*/
public class Main {
public static void main(String[] args){
String userName = "yourUserName";
String userPassword = "yourPassword";
String userHost = "engineeringserver.com";
String userDirectory = "public_html";
System.out.println("Downloading files from: " + userHost + "/" + userDirectory);
FilePath FP = new FilePath();
FP.connectToFTPAndSaveStructure(userName,userPassword,userHost,userDirectory);
System.out.println("Download finished");
}
}
![]() Engineeringserver.com | Java ftp client sourcecode
__________________
Need Java tutorials, sourcecodes and game development guides? You ask, we code! ![]() www.JavaForums.net Java programming help! <-- Java developer in JSE/J2EE
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|