TWebFileUpload

Hi,

Can you please add an OnGetFileAsArrayBuffer the same as is available for a TWebFilePicker?

Thanks,

Ken
For now I have a hidden TWebFilePicker and in the TWebFileUpload.OnDroppedFiles event I am using:

var
  F:TFile;
begin
  F:=XLSFilePicker.Files.Add;
  F.FileObject:=XLSDrop.Files[0].FileObject;
  F.Name:=XLSDrop.Files[0].Name;
  F.MimeType:=XLSDrop.Files[0].MimeType;
  F.Modified:=XLSDrop.Files[0].Modified;
  F.Size:=XLSDrop.Files[0].Size;
  XLSFilePicker.Files[0].GetFileAsArrayBuffer;

This seems to work fine.

Regards,

Ken

We will add OnGetFileAsArrayBuffer  also to TWebFileUpload

Thanks. If possible could you also add a file mask property to both of them?