Table of Content
HAL Forum
function integer WebOutAttachment (
string AttachmentSerNr)
Description:
Sends the contents of an attachment with a specified ID to web user.
Parameters:
AttachmentSerNr The SerNr of the attachment in the Attach2Vc register
global
procedure WebHBSDivTest()
begin
  LongInt ser;
  
  WebSetContentType("image/jpeg");
  ser = StringToLongInt(WebGetArg("filenumber"));
  if (ser>0) then begin
    WebOutAttachment(ser);
  end;
  return;
end;
Related topics:
««