wood burning stoves 2.0*
The moose likes I/O and Streams and the fly likes java io NAS folder access and protocol Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "java io NAS folder access and protocol" Watch "java io NAS folder access and protocol" New topic
Author

java io NAS folder access and protocol

P Chaudhari
Greenhorn

Joined: Mar 22, 2004
Posts: 22
Hi All,

I have a java program which accesses a NAS folder using java.io.File object. As I found in internet many protocols are supported by by NAS devices. Can anybody tell me which one of it is used by java.io.File object while accessing the NAS folders.

# Network protocols used by NAS devices:

* CIFS
* NFS
* FTP
* HTTP
* UPnP
* AFP
* rsync
* SSH
* Unison
* AFS
* iSCSI

Looking forward for your answer.

Thanks and Regards
Prasad
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8996
    
    9

CIFS and NFS provide a way for an OS to mount a file system on a foreign machine as a local "drive". The configuration takes place at the OS level, so as far as Java is concerned, it is just another drive. java.io.File works with such resources.
Java can also access FTP, HTTP and SSH resources, but not through the File interface.


[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java io NAS folder access and protocol