示例#1
0
        public SftpCachedDirectory(SftpStorage storage, Directory parent, string path, string name)
        {
            this.storage = storage;
            this.parent  = parent;

            this.path        = path;
            this.name        = name;
            this.directories = new List <SftpCachedDirectory>();
            this.files       = new List <SftpCachedFile>();
        }
示例#2
0
        public SftpCachedFile(SftpStorage storage, SftpCachedDirectory parent, string path, string name, ulong size, DateTime date)
        {
            this.storage = storage;
            this.parent  = parent;

            this.path = path;
            this.name = name;
            this.size = size;
            this.date = date;
        }
示例#3
0
 public SftpDirectory(SftpStorage storage, SftpDirectory parent, Renci.SshNet.Sftp.SftpFile directory)
 {
     this.storage = storage;
     this.parent = parent;
     this.directory = directory;
 }
示例#4
0
        public SftpCachedDirectory(SftpStorage storage, Directory parent, string path, string name)
        {
            this.storage = storage;
            this.parent = parent;

            this.path = path;
            this.name = name;
            this.directories = new List<SftpCachedDirectory>();
            this.files = new List<SftpCachedFile>();
        }
示例#5
0
 public SftpDirectory(SftpStorage storage, SftpDirectory parent, Renci.SshNet.Sftp.SftpFile directory)
 {
     this.storage   = storage;
     this.parent    = parent;
     this.directory = directory;
 }
示例#6
0
 public SftpFile(SftpStorage storage, SftpDirectory parent, Renci.SshNet.Sftp.SftpFile file)
 {
     this.storage = storage;
     this.parent = parent;
     this.file = file;
 }
示例#7
0
        public SftpCachedFile(SftpStorage storage, SftpDirectory parent, string path, string name, ulong size, DateTime date)
        {
            this.storage = storage;
            this.parent = parent;

            this.path = path;
            this.name = name;
            this.size = size;
            this.date = date;
        }
示例#8
0
 public SftpFile(SftpStorage storage, SftpDirectory parent, Renci.SshNet.Sftp.SftpFile file)
 {
     this.storage = storage;
     this.parent  = parent;
     this.file    = file;
 }