public void MakeFolder(string cpath) { try { if (FTP) { _ftpc.MakeDirectory(cpath); } else { _sftpc.CreateDirectory(cpath); } } catch { if (!Exists(cpath)) { throw; } } }
public void MakeFolder(string cpath) { try { if (FTP) { _ftpc.MakeDirectory(cpath); } else { _sftpc.CreateDirectory(cpath); } } catch { if (!Exists(cpath)) { throw; } } }