public void RemoveDirectory(string directory) { if (WININET.FtpRemoveDirectory(_hConnect, directory) == 0) { Error(); } }
/// <summary> /// Deletes a directory from the FTP server /// </summary> /// <param name="directory">A <see cref="String"/> representing the path of the directory to delete.</param> public void RemoveDirectory(string directory) { int ret = WININET.FtpRemoveDirectory(_hConnect, directory); if (ret == 0) { Error(); } }