Register FAQ Calendar Search Today's Posts Mark Forums Read

Go Back   Java Programming Forums > Java SE > Java Networking

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 29-07-2008, 05:00 PM
Member
 
Join Date: May 2008
Posts: 58
Engineeringserver.com is on a distinguished road
Default Java, ftp client

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
Reply With Quote
  #2 (permalink)  
Old 17-11-2008, 04:03 PM
Junior Member
 
Join Date: Nov 2008
Posts: 1
arvind321 is on a distinguished road
Default Re: Java, ftp client

How is this FilePath defined ? Is it a public class ?

Arvind
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Custom Search
100 most searched terms
Search Cloud
"bad endpoint type" bad endpoint type com.sun.xml.internal.messaging.saaj.soapexceptionimpl com.sun.xml.internal.messaging.saaj.soapexceptionimpl: bad endpoint type com.sun.xml.internal.messaging.saaj.soapexceptionimpl: java.security.privilegedactionexception com.sun.xml.internal.messaging.saaj.soapexceptionimpl: java.security.privilegedactionexception: com.sun.xml.internal.messaging.saaj.soapexceptionimpl: java.security.privilegedactionexception: com.sun.xml.internal.messaging.saaj.soapexceptionimpl: message send failed com.sun.xml.internal.messaging.saaj.soapexceptionimpl: message send failed com.sun.xml.messaging.saaj.soapexceptionimpl: java.security.privilegedactionexception: com.sun.xml.messaging.saaj.soapexceptionimpl: java.security.privilegedactionexception: com.sun.xml.messaging.saaj.soapexceptionimpl: message send failed convert arraylist to map date_format_now eclipse short keys eclipse shortcut keys ejb3 quartz image character recognition java java convert double to binary java forum java forums java jtextarea font java jtextarea font size java programing forums java programmer forum java programmers forum java programming forum java programming forums java read last line java read last line of file java sendkeys java.security.privilegedactionexception java.security.privilegedactionexception: com.sun.xml.internal.messaging.saaj.soapexceptionimpl java.security.privilegedactionexception: com.sun.xml.internal.messaging.saaj.soapexceptionimpl: bad response java.security.privilegedactionexception: com.sun.xml.internal.messaging.saaj.soapexceptionimpl: message send failed jtextarea font jtextarea font size last line file java programing forums programming forums reset jcombobox saaj0008 saaj0008 "bad response bad request" saaj0008: bad response; bad request saaj0008: bad response; not found sendkeys java severe: saaj0008 severe: saaj0008: bad response; bad request severe: saaj0008: bad response; not found soapexceptionimpl: bad endpoint type soapexceptionimpl: java.security.privilegedactionexception textpad java

All times are GMT. The time now is 01:00 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.