• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

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.
 
Arch enemy? I mean, I don't like you, but I don't think you qualify as "arch enemy". Here, try this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic