OnDownload Event  
 

The client has successfully downloaded a file from the server.

Syntax

Sub object_OnDownload ( [Index As Integer,] ByVal ClientId As Variant, ByVal FileName As Variant, ByVal FileSize As Variant )

Parameters

ClientId
An integer value which uniquely identifies the client session.
FileName
A string that specifies the full path name of the file on the server that was downloaded.
FileSize
An integer value that specifies the number of bytes of data that was downloaded by the client.

Remarks

The OnDownload event occurs after the client has successfully downloaded a file from the server using the RETR command. If the file transfer fails or is aborted, this event will not occur.

See Also

OnCommand Event, OnUpload Event