CGI | returning a File (PDF) lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- cpalx · 2019-09-30 01:59 Hello, How could i return a file when some visit the page ( CGI ) somethinglike : http://myweb/cgi-bin/MyCGI and then return the file to download the file will be create automatically in /opt/someplace/ ---------------------------------------------------------------------- egsuh · 2019-09-30 03:02 Files can be passed to the client browser via  TResponse.ContentStream. ---------------------------------------------------------------------- cpalx · 2019-09-30 20:46 thanks, that is exactle was i looking for