Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java io NAS folder access and protocol

 
P Chaudhari
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9320
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic