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; }
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); }
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); }
internal FTPFileInfo(string name, DateTime lastAccessTime, FTPClient client, FTPDirectoryInfo parent) : base(name, lastAccessTime, client, parent) { }