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.
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.