954,157 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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..

harishasan
Newbie Poster
3 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

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

Alex Edwards
Posting Shark
972 posts since Jun 2008
Reputation Points: 392
Solved Threads: 109
 

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/tutorial/networking/sockets/

BestJewSinceJC
Posting Maven
2,772 posts since Sep 2008
Reputation Points: 874
Solved Threads: 354
 

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...

harishasan
Newbie Poster
3 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

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.

stephen84s
Nearly a Posting Virtuoso
1,443 posts since Jul 2007
Reputation Points: 668
Solved Threads: 154
 
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

harishasan
Newbie Poster
3 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

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

angelfires
Newbie Poster
1 post since Nov 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You