According to the upload demo I use a TWebFilePicker to have the user select a file. Then on button click I do:
webfilepicker1.Files[0].Upload('some url');
The UploadComplete event unfortunately does not contain the response received from the server. How to access the server response? In my case, the server returns some JSON with the FileID under which the uploaded file was stored.
How to abort the upload of a large file when the user wishes so? I tried Result := False
as well as Abort
during a Progress event, but this doesn't abort the upload.
Kind regards, Walter