RemObjects.InternetPack.Ftp.VirtualFtp.VirtualFtpServer.InvokeOnDelete C# (CSharp) Method

InvokeOnDelete() protected method

protected InvokeOnDelete ( FtpFileEventArgs e ) : void
e FtpFileEventArgs
return void
		protected override void InvokeOnDelete(FtpFileEventArgs e)
		{
			VirtualFtpSession lSession = (VirtualFtpSession)e.Session;

			IFtpFolder lFolder;
			String lFilename;
			lSession.CurrentFolder.FindBaseFolderForFilename(e.FileName, out lFolder, out lFilename, lSession);

			lFolder.DeleteFile(lFilename, lSession);
			e.Ok = true;
		}
		#endregion