my dog learned polymorphism
The moose likes Java in General and the fly likes Where does FTP process runs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Where does FTP process runs" Watch "Where does FTP process runs" New topic

Where does FTP process runs

babu krishnan

Joined: Jun 09, 2002
Posts: 25
I have a doubt. When i call FTP Process by getting the Process instance and invoking exec method, where does this FTP process runs?. Will it run on the JVM, or seperate unix shell?
Suggest me that I have two options to do a FTP.
1) FTP Java client
2) FTP by invoking exec method on Process instance

Thanks in advance
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi babu,
If you invoke Runtime.getRuntime().exec() then it runs in a separate process, definitely not in the JVM.
Michael Morris

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
I agree. Here's the link:
subject: Where does FTP process runs
It's not a secret anymore!