Exemplo n.º 1
0
 public Object RunSftpShell(string cmd, string src, string dst, bool isview = true, bool log = true)
 {
     if (null != monitorForm)
     {
         return(monitorForm.RunSftpShell(string.Format("{0} {1} {2}", cmd, src, dst), isview, log));
     }
     else if (null != sftpForm)
     {
         return(sftpForm.downloadFile(src, dst));
     }
     return(null);
 }