IFtpPostprocessProvider.HandlePostprocess Method
Implements custom functionality after an FTP command has completed.
Syntax
FtpProcessStatus HandlePostprocess(
FtpPostprocessParameters postProcessParameters
)
Private Function HandlePostprocess(
ByVal postProcessParameters As FtpPostprocessParameters
) As FtpProcessStatus
Parameters
Parameter Name | Description |
---|---|
postProcessParameters |
An FtpPostprocessParameters class that defines the information for FTP activity after a command has completed. |
Return Value
An FtpProcessStatus value that contains the status for the request; for example: an application can specify whether to continue or terminate the session.
Example
For examples about creating custom functionality for pre/post processing of FTP commands, see the following articles:
How to Use Managed Code (C#) to Create an FTP Provider that Prevents Leeching
Create an FTP Provider that Sends an Email when Files are Uploaded
Requirements
Type | Description |
---|---|
Client | - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
Server | - IIS 8.0 on Windows Server 2012 - IIS 8.5 on Windows Server 2012 R2 - IIS 10.0 on Windows Server 2016 Technical Preview |
Product | - IIS 8.0, IIS 8.5, IIS 10.0 |
Reference | Microsoft.Web.FtpServer.dll |
See Also
IFtpPostprocessProvider Interface
IFtpPreprocessProvider Interface