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

Connecting to Unix via Windows

 
Theodore Reph
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From a windows box, how can I read a file that is on a Unix box and write a file to the Unix box (using Java)?
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the Unix file system mounted to the Windows box as a separate drive? If so, you should be able to do access files the same way you do local files on the C:. If not, does the Unix box provide an FTP server? Or are the files available via HTTP? Java provides some tools that allow you to handle files over these two protocols. There may also be some third-party tools that will make it easier, but I don't know of any off the top of my head.

Layne
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic