File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes FTP in JAVA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "FTP in JAVA" Watch "FTP in JAVA" New topic


venkatesh rajmendram
Ranch Hand

Joined: Dec 05, 2000
Posts: 130
Hi ,
I am looking for FTP class in java, the main purpose is I want to FTP some data to mainframe.
The FTP should have like userid, password , Ipadd ,Quote..
The data FTPed sumbits some prog/job on mainframe.
It will be of great help if anyone gives info on such class.

SCJP 1.4, SCWCD<p>Ours is a world where people don't know what they want and are willing to go through hell to get it.<br /> - Don Marquis
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
FTP is just a program (executable). A program can be invoked from the DOS command line. Feed in the IP address as a parameter.
The system you are signing on to should have the security stuff.

"JavaRanch, where the deer and the Certified play" - David O'Meara
venkatesh rajmendram
Ranch Hand

Joined: Dec 05, 2000
Posts: 130
Hi cindy,
Thanks , I was considering other options of directly connecting to server and FTPing...since i will have to make it as an applet on the server.
Carl Trusiak

Joined: Jun 13, 2000
Posts: 3340
Actually Jeff Holmes has started a nice FtpClient using sockets, here
Hope this helps

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
I agree. Here's the link:
subject: FTP in JAVA
It's not a secret anymore!