AfterRequestAttributes Event
Signals the completion of an attribute request.
Syntax
public event OnAfterRequestAttributesHandler OnAfterRequestAttributes; public delegate void OnAfterRequestAttributesHandler(object sender, FtpserverAfterRequestAttributesEventArgs e); public class FtpserverAfterRequestAttributesEventArgs : EventArgs { public long ConnectionID { get; } public string Path { get; } public int OperationStatus { get; set; } }
Public Event OnAfterRequestAttributes As OnAfterRequestAttributesHandler Public Delegate Sub OnAfterRequestAttributesHandler(sender As Object, e As FtpserverAfterRequestAttributesEventArgs) Public Class FtpserverAfterRequestAttributesEventArgs Inherits EventArgs Public ReadOnly Property ConnectionID As Long Public ReadOnly Property Path As String Public Property OperationStatus As Integer End Class
Remarks
The component fires this event upon completion of an attribute request. Check the operation status, and alter it, if needed, through the OperationStatus parameter:
ostOk | 1 | |
ostNoSuchFile | 2 | |
ostAccessDenied | 3 | |
ostWriteProtect | 4 | |
ostUnsupported | 5 | |
ostInvalidParameter | 6 | |
ostEOF | 7 |