• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java io NAS folder access and protocol

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic