[Lazarus] Download and Upload in fpweb application

Michael Van Canneyt michael at freepascal.org
Fri Jan 4 13:51:36 CET 2019



On Fri, 4 Jan 2019, Rogério Martins via lazarus wrote:

> Hi
>
> Could anyone show exemples of uploading and downloading files in a web
> application made with fpweb ( cgi ) ?
>

see the examples:  packages/fcl-web/examples/ 
example: fptemplate/fileupload/

The code to handle the actual upload is in:
fptemplate/fileupload/webmodule/webmodule.pas

See routine TFPWebModule1.HandleUploadedFiles.

Michael.


More information about the lazarus mailing list