Opens this file and returns an unbuffered InputStream for reading from this file. This method differs from openInput() only in the fact that the returned stream is unbuffered: every call to InputStream.read() involves a separate network request to the remote SFTP server.
Opens this file and returns an unbuffered OutputStream for writting to this file. This method differs from openOutput() only in the fact that the returned stream is unbuffered: every call to OutputStream.write(int) involves a separate network request to the remote SFTP server.
Get hash of the File represented by this object. This function returns the file data digest of length 'len' from 'offset'. The digest is returned. The hash algorithm name is given in 'hash_name'. Supported values for hash algorithm names are: "md5".
hashName - Hash algorithm name (supported: "md5").