public FtpVirtualFile(FtpVirtualPathProvider owningProvider, FtpVirtualDirectory directory,
     string name = null, DateTime? lastModified = null)
     : base(owningProvider, directory)
 {
     Provider = owningProvider;
     _name = name;
     _lastModified = lastModified ?? DateTime.MinValue;
 }
Beispiel #2
0
        private FtpVirtualDirectory GetOrAddDirectory(string virtualPath)
        {
            var node = new FtpVirtualDirectory(this, virtualPath);

            return(this.AddOrGetNode(node));
        }