Пример #1
0
 public override void Delete()
 {
     FtpConnection.RemoveFile(FullName);
 }
Пример #2
0
 public FtpDirectoryInfo(FtpConnection ftp, String path)
 {
     m_ftp         = ftp;
     base.FullPath = path;
 }
Пример #3
0
 public FtpFileInfo[] GetFiles(string mask)
 {
     return(FtpConnection.GetFiles(mask));
 }
Пример #4
0
 public FtpFileInfo[] GetFiles()
 {
     return(GetFiles(FtpConnection.GetCurrentDirectory()));
 }
Пример #5
0
 public FtpDirectoryInfo[] GetDirectories(String path)
 {
     path = Path.Combine(this.FullPath, path);
     return(FtpConnection.GetDirectories(path));
 }
Пример #6
0
 public FtpDirectoryInfo[] GetDirectories()
 {
     return(FtpConnection.GetDirectories(FullPath));
 }