Esempio n. 1
0
 internal FTPInfo(string name, DateTime lastAccessTime, FTPClient client, FTPDirectoryInfo parent)
 {
     this.name = name.Trim(' ', '\n', '\r', '\t', '\\', '/');
     this.lastAccessTime = lastAccessTime;
     this._client = client;
     this.parent = parent;
 }
Esempio n. 2
0
 internal FTPDirectoryInfo(string name, DateTime lastAccessTime, FTPClient client, FTPDirectoryInfo parent)
     : base(name, lastAccessTime, client, parent)
 {
     this.directories = new Dictionary <string, FTPDirectoryInfo>(StringComparer.CurrentCultureIgnoreCase);
     this.files       = new Dictionary <string, FTPFileInfo>(StringComparer.CurrentCultureIgnoreCase);
 }
Esempio n. 3
0
 internal FTPDirectoryInfo(string name, DateTime lastAccessTime, FTPClient client, FTPDirectoryInfo parent)
     : base(name, lastAccessTime, client, parent)
 {
     this.directories = new Dictionary<string, FTPDirectoryInfo>(StringComparer.CurrentCultureIgnoreCase);
     this.files = new Dictionary<string, FTPFileInfo>(StringComparer.CurrentCultureIgnoreCase);
 }
Esempio n. 4
0
 internal FTPFileInfo(string name, DateTime lastAccessTime, FTPClient client, FTPDirectoryInfo parent)
     : base(name, lastAccessTime, client, parent)
 {
 }