> Now I want to allow my subscribers to download dynamically-generated
> tab-delimited or Excel-format data files. They would do a search for the
> records they are interested in and then press a button which would cause a
> 'save as' dialog box to appear and then download an A4D-generated data file
> (which I do not really want to have to save anywhere).
The key thing when generating files is to set the Content-disposition header:
set response header("Content-Disposition";"attachment;filename=" + url
encode path($filename))
set cache control("private")
write blob($fileBlob; $mimeType; *)
Regards,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoy.org
_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/