Your browser does not allow storing cookies. We recommend enabling them.
com.ssh.sft Class RegularFile
All Implemented Interfaces: SftLibConstants, com.ssh.sft.SshSftFileType public class RegularFile extends File
A regular file. Regular files are files that contain binary data.
Methods inherited from class com.ssh.sft. File copy, copy, getAttributes, getGroup, getLocation, getOwner, getPath, getSession, getSize, getURI, move, remove, rename, setAttributes RegularFile
public RegularFile() openInput
public InputStream openInput()
throws SftException Opens this file and returns an InputStream for reading from the file. Returns: a stream for reading from this file Throws: SftException openRawInput
public InputStream openRawInput()
throws SftException Opens this file and returns an unbuffered InputStream for reading from this file. This method differs from only in the fact that the returned stream is unbuffered: every call to
involves a separate network request to the remote SFTP server.
Returns: an unbuffered stream for reading from this file Throws: SftException openRawOutput
public OutputStream openRawOutput()
throws SftException Throws: SftException openOutput
public OutputStream openOutput()
throws SftException Throws: SftException computeHash
public byte computeHash( String hashName,
throws SftException Throws: SftException computeMD5
public byte computeMD5()
throws SftException Throws: SftException Reduce Secure Shell risk. Get to know the NIST 7966. The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government. Download now ISACA Practitioner Guide for SSH With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community. Download now What we recommend to read next: Regulatory compliance for cybersecurity? Privileged access management related information NEAREST SSH.COM OFFICE SSH Communications Security, Inc. 460 Totten Pond Road #460 Waltham, MA 02140 USA 781-247-2100 Contact us