File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes How to ftp a file to a ftp server in java ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "How to ftp a file to a ftp server in java ??" Watch "How to ftp a file to a ftp server in java ??" New topic
Author

How to ftp a file to a ftp server in java ??

Rohan Kayan
Ranch Hand

Joined: Sep 17, 2004
Posts: 123
I want to ftp a file from the local machine to the ftp server in a standalone java program , How can I do that ?? Please help me out ...


SCWCD 1.4, SCJP 1.4
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8866
    
    8

Search this forum for "FTP" and you'll get over 160 hits, including exceptionally helpful posts like this one


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Van Glass
Ranch Hand

Joined: Nov 18, 2000
Posts: 110
The FTP client protocol is documented in RFC 959. For passive connections you will need to look at RFC 1579
Kamal
Greenhorn

Joined: Mar 14, 2005
Posts: 2
Try Linlyn code for FTP client implementation.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to ftp a file to a ftp server in java ??