OnUpload Event  
 

The client has successfully uploaded a file to the server.

Syntax

Sub object_OnUpload ( [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 created or replaced.
FileSize
An integer value that specifies the number of bytes of data that was uploaded by the client.

Remarks

The OnUpload event occurs after the client has successfully uploaded a file to the server using the APPE, STOR or STOU command. If the file transfer fails or is aborted, this event will not occur.

See Also

OnCommand Event, OnUpload Event