plUploadHandler::OnUploadStarted
This method is called when an individual file upload is started.
You can override this method in a subclass or point at a function/method using the cOnUploadStartedFunction.
**Note: **You can hook this event without subclassing by using FoxPro's BindEvent():
foxpro
foxpro
BINDEVENT(loUpldate,"OnUploadStarted",THIS,"OnUpdateStarted",1)
o.OnUploadStarted(lcFilename, loUpload)
.T. to continue processing, .F. to indicate the download should stop
Parameters
lcFilename
The name of the file that is being uploaded
loUpload
An instance of the plUpload component (useful when using cUploadStartedFunction which runs outside of the class context).
See also
Class plUploadHandler© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic