DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Java (http://www.daniweb.com/forums/forum9.html)
-   -   Java FTP Server (http://www.daniweb.com/forums/thread156243.html)

harishasan Nov 9th, 2008 4:42 pm
Java FTP Server
 
hi
i have to ceate an applciation which can tranfer files from one pc to another on the network. I want to transfer files using FTP. can anyone tell me about an open source FTP client and FTP server which i can embed in my applciation easily and use the FTP functionality(both client and server).

thnx in advance..

Alex Edwards Nov 9th, 2008 4:58 pm
Re: Java FTP Server
 
Why not just create your own implementation of FTP by using Sockets and sending a collection of bytes from one application to another then have the receiving application write those bytes to a File (or FileDescriptor object if that is possible).

Edit: Here's an Open-Source API that seems promising - Linkage

BestJewSinceJC Nov 9th, 2008 8:28 pm
Re: Java FTP Server
 
Seconded on using Sockets. Unless the FTP thing is a requirement of your assignment. Here is where help on using Sockets can be found. http://java.sun.com/docs/books/tutor...rking/sockets/

harishasan Nov 10th, 2008 2:27 am
Re: Java FTP Server
 
FTP i guess is more reliable as compared to sockets. plus i have to transfer large setup files 1.5 or 2 g b i guess in this case FTP would be better...

stephen84s Nov 10th, 2008 5:15 am
Re: Java FTP Server
 
Well heres one I had come across a while ago : JeFTPd (Java Embeddable FTP Server).
I think it appears to be what you are looking for, but it is still in experimental stage.

harishasan Nov 10th, 2008 8:09 am
Re: Java FTP Server
 
Quote:

Originally Posted by stephen84s (Post 732409)
Well heres one I had come across a while ago : JeFTPd (Java Embeddable FTP Server).
I think it appears to be what you are looking for, but it is still in experimental stage.

truely speaking im not satisfied with link above

angelfires Nov 14th, 2008 12:37 pm
Re: Java FTP Server
 
Quote:

Originally Posted by harishasan (Post 732049)
hi
i have to ceate an applciation which can tranfer files from one pc to another on the network. I want to transfer files using FTP. can anyone tell me about an open source FTP client and FTP server which i can embed in my applciation easily and use the FTP functionality(both client and server).

thnx in advance..


Here is a the source code of a java server using http and rpc protocol. I hope this code will help you


All times are GMT -4. The time now is 10:59 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC