TWebFileUpload / TFiles issue

Under TWebFileUpload, the manual says this:

To upload a file to a server, from the WebFileUpload.OnChange event or from another event, call

WebFileUpload1.Files[0].Upload('http://localhost:8088/upload');

to upload the first file picked by the TWebFileUpload to the server (assuming there is server code listening on port 8088 to handle via the upload action.

But the source code for TFile.Upload shows this:

procedure TFile.Upload(AAction: string);
begin
  //
end;

It's not virtual, so I'm guessing it just never got implemented.

(There are some other methods that are empty as well in both classes.)

Since it's probably a POST request, it would be nice if it had some parameters you could add to the header to get a script of some kind to run.

Actually, it looks like TWebFileUpload.Create is the only thing implemented in this entire class.

I can't tell how it's even working. It's in the WEBLib.WebCtrls.pas file. I mean ... I'm getting an OnDroppedFiles event firing and it has a TStringlist that's got the selected file(s) in it. They're being loaded from somewhere, but it's sure not obvious where that code is.

You most likely look in design-time code.
The runtime code is in the source code under the "Core Source" subfolder.
TWebFileUpload is an upload handler to the browser, not to the server directly, so this is not using a POST request.

I just clicked on the type name where it's declared at the top of the form; usually that's sufficient. I didn't realize that's all design-time code, and I was actually looking to find out what it's actually doing.

If it's not a POST request, what's it doing? What does the code on the server need to do? (It just says you need something on the server side. Is that documented anywhere?)

I'll track down that "Core Source" folder and see what's there.