Renci.SshNet.Sftp.SftpFileAttributes
Contains SFTP file attributes.
namespace Renci.SshNet.Sftp
{
public class SftpFileAttributes
{
public DateTime LastAccessTime { get; set; }
public DateTime LastWriteTime { get; set; }
public DateTime LastAccessTimeUtc { get; set; }
public DateTime LastWriteTimeUtc { get; set; }
public long Size { get; set; }
public int UserId { get; set; }
public int GroupId { get; set; }
public bool IsSocket { get; }
public bool IsSymbolicLink { get; }
public bool IsRegularFile { get; }
public bool IsBlockDevice { get; }
public bool IsDirectory { get; }
public bool IsCharacterDevice { get; }
public bool IsNamedPipe { get; }
public bool OwnerCanRead { get; set; }
public bool OwnerCanWrite { get; set; }
public bool OwnerCanExecute { get; set; }
public bool GroupCanRead { get; set; }
public bool GroupCanWrite { get; set; }
public bool GroupCanExecute { get; set; }
public bool OthersCanRead { get; set; }
public bool OthersCanWrite { get; set; }
public bool OthersCanExecute { get; set; }
public IDictionary<string, string> Extensions { get; }
public void SetPermissions(short mode);
public byte[] GetBytes();
}
}