Esempio n. 1
0
 /// <summary>
 /// Does the specified path exist on the remote folder?
 /// </summary>
 public bool Exists(string cpath)
 {
     if (FTP)
     {
         return(_ftpc.Exists(cpath));
     }
     else
     {
         return(_sftpc.Exists(cpath));
     }
 }
Esempio n. 2
0
 public bool Exists(string path)
 {
     if (FTP)
     {
         return(ftpc.Exists(path));
     }
     else
     {
         return(sftpc.Exists(path));
     }
 }