Renci.SshNet.Sftp.SftpFile
Represents SFTP file information
namespace Renci.SshNet.Sftp
{
public class SftpFile
{
public SftpFileAttributes Attributes { get; }
public string FullName { get; }
public string Name { get; }
public DateTime LastAccessTime { get; set; }
public DateTime LastWriteTime { get; set; }
public DateTime LastAccessTimeUtc { get; set; }
public DateTime LastWriteTimeUtc { get; set; }
public long Length { get; }
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 void SetPermissions(short mode);
public void Delete();
public void MoveTo(string destFileName);
public void UpdateStatus();
}
}