jQuery in Action, 2nd edition*
The moose likes I/O and Streams and the fly likes How do I read from Unix system when my application is running in NT. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "How do I read from Unix system when my application is running in NT." Watch "How do I read from Unix system when my application is running in NT." New topic
Author

How do I read from Unix system when my application is running in NT.

Adi Nayak
Greenhorn

Joined: May 16, 2002
Posts: 3
How do I read a pdf file residing in Unix system and displaying the same in NT? My application will run in NT off-course.
Can anybody provide some lead?
Thanks in advance.
Anand Kumar N
Greenhorn

Joined: Oct 08, 2002
Posts: 6
Use socket programmig


Rgds<br />Anand
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15632
    
  15

If what you're asking for is the ability - as an NT user - to view a PDF that is stored in a file on a Unix machine, there's no Java or other programming required.
If the Unix machine is part of a LAN to which your NT machine is also attached, these days it's likely to have Samba or a similar Windows-compatible networking product installed. If so, you should be able to access the LAN shares, and treat the PDF in the same way you would an NT server-based PDF. All that's needed is for the file to be residing in a shared area, just like it would be on an NT server.
For non-LAN access, such as the Internet, you can download a copy of the PDF if the Unix machine has a webserver such as Apache installer. In that case, all that's required is to ensure that the MIME type support for the server is set to understand PDFs and that the PDF be placed in a location where it can be server. Plus, of course, you have to know that location's URL.
If you planned to read and manipulate a PDF programmatically, that's quite different, but in Java the code is essentially the same for any OS, whether NT, Unix or Macintosh.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I read from Unix system when my application is running in NT.
 
Similar Threads
Need to test on multiple platforms?
seeking method of getting free disk space
Is UNIX a must?
NT User Name
How to connect to an UNIX server from Java application