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

InvokeOnCanStoreFile() protected method

protected InvokeOnCanStoreFile ( FtpTransferEventArgs e ) : void
e FtpTransferEventArgs
return void
		protected override void InvokeOnCanStoreFile(FtpTransferEventArgs e)
		{
			VirtualFtpSession lSession = (VirtualFtpSession)e.Session;

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

			e.Ok = lFolder.AllowPut(lSession);
		}