Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where does FTP process runs

 
babu krishnan
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi babu,
If you invoke Runtime.getRuntime().exec() then it runs in a separate process, definitely not in the JVM.
Michael Morris
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic