The SkippingFile event is triggered whenever a file being sent or received cannot be transferred or processed for some reason.
The lSkippingReason parameter contains the error code explaining why the file was skipped. Pass the value of this parameter to the GetResultDescription method to obtain a text description of the skipping reason.
If you do not write a handler for the SkippingFile event, your application will still be notified if any files are skipped because the method currently executing will return the FTP_S_FILESSKIPPED error code.
The parameters provided by the SkippingFile event are not modifiable.
Parameter | Description |
---|---|
sLocalFilename | The local filename of the file being skipped. |
sRemoteFilename | The remote filename (on the FTP server) of the file being skipped. |
eSkippingReason | The error code that has caused this file to be skipped. The value of this parameter is a member of the EXFError enumeration’s error codes values. |
Declaration (event) | |
---|---|
|
Declaration (interface implementation) | |
---|---|
|