File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 8707
    
    6

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[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
 
Similar Threads
To Eric can J2ME be used in Telecom products?
Controlling Mouse / Pedal from USB in Multi Platforms
Java Script Folder Object.
Opening a file
grant write access to folder in unix