Ejemplo n.º 1
0
 public SftpDirectory(SftpStorage storage, SftpDirectory parent, Renci.SshNet.Sftp.SftpFile directory)
 {
     this.storage = storage;
     this.parent = parent;
     this.directory = directory;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Validates if a unix path is valid as a directory
 /// path
 /// </summary>
 /// <param name="unixFile">The unix path to validate</param>
 /// <returns>True if the unix file is valid</returns>
 public bool IsUnixDirValid(SftpFile unixFile)
 {
     return(unixFile.Name != ".." && unixFile.Name != "." && !this.IgnoreDirectories.Contains(unixFile.Name));
 }
Ejemplo n.º 3
0
 public SftpFile(SftpStorage storage, SftpDirectory parent, Renci.SshNet.Sftp.SftpFile file)
 {
     this.storage = storage;
     this.parent = parent;
     this.file = file;
 }
Ejemplo n.º 4
0
 public SftpFile(SftpStorage storage, SftpDirectory parent, Renci.SshNet.Sftp.SftpFile file)
 {
     this.storage = storage;
     this.parent  = parent;
     this.file    = file;
 }