コード例 #1
0
 public void RemoveDirectory(string directory)
 {
     if (WININET.FtpRemoveDirectory(_hConnect, directory) == 0)
     {
         Error();
     }
 }
コード例 #2
0
ファイル: FtpConnection.cs プロジェクト: vlad1000/ModioX
        /// <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();
            }
        }