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