Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Validating files before upload
#9
Ok, so please, just tell me, if I use OnAsyncSelectFile, how do I abort the upload of the file if I decide to do so? I would expect the OnAsyncSelectFile to have a parameter FileName:string and

procedure OnAsyncSelectFile(const aFileName:string; var aAllowUpload:boolean)

However, since that is not there, can you tell me how I tell the component to stop uploading that file.  Please answer the following two questions that I have been asking

a) get the filename current file that is triggering the OnAsyncSelectFile. Is that in the EventParms?
b) how to signal to abort the upload of that file
Reply


Messages In This Thread
Validating files before upload - by davenovo - 03-14-2018, 11:13 PM
RE: Validating files before upload - by davenovo - 03-16-2018, 01:15 AM
RE: Validating files before upload - by davenovo - 03-18-2018, 06:00 PM
RE: Validating files before upload - by kudzu - 03-19-2018, 01:26 PM
RE: Validating files before upload - by davenovo - 03-19-2018, 05:57 PM
RE: Validating files before upload - by davenovo - 03-19-2018, 08:44 PM
RE: Validating files before upload - by davenovo - 03-20-2018, 03:39 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)