plUploadHandler::OnUploadChunk

This method is called when when a file chunk is uploaded.

Generally you don't need to override this method unless you want to perform custom storage of the incoming file data.

This method should be overridden in a subclass to provide custom functionality. The default implementation writes out a file in the cUploadPath with the name the client provides.

o.OnUploadChunk(lcData, lnChunk, lnChunks, lcFilename, loUpload)

.T. or .F.

Parameters

lcData
The binary data of the file chunk.

lnChunk
The 0 based chunk number (1/10)

lnChunks
The total number of chunks

lcFilename
Name of the file.

loUpload
An instance of the plUploadHandler object

See also

Class plUploadHandler

© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic