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():

BINDEVENT(loUpldate,"OnUploadStarted",THIS,"OnUpdateStarted",1)

o.OnUploadStarted(lcFilename, loUpload)

Return Value

.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, 1996-2019 • Updated: 03/14/13
Comment or report problem with topic