CSharpUtils.Net.FTP.RemoveFile C# (CSharp) Метод

RemoveFile() публичный Метод

Remove a file from the ftp server
public RemoveFile ( string filename ) : void
filename string Name of the file to delete
Результат void
		public void RemoveFile(string filename)
		{
			Connect();
			SendCommand("DELE " + filename);
			ReadResponse();
			if (response != 250)
			{
#if (FTP_DEBUG)
				Console.Write("\r" + responseStr);
#endif
				throw new Exception(responseStr + " : " + filename);
			}
		}
		/// <summary>