This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 8836
    
    7

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 ??
 
Similar Threads
SFTP in Java
how to download files from a remote server via java code?
how to execute ftp commands from java
How to FTP
Renaming remote File/Dir using ANT FTP tag?