A4D v5.0r37

WS2008R2SE

4D Server v12.3HF5

 

I am creating a text file that the browser should download instead of
display. 

 

The file is dynamically created in a directory that is within A4D's web
root. 

 

4D Server is configured with "web_static" as the default directory, which is
not within A4D's web root.

 

After creating it, when redirecting to it I notice the On Web Connection
does not execute for access to it.

 

Since the file is a Text file, not HTML or XML, I don't want anything in it
but the data the user expects.

 

I've tried setting the content-type to application/octet-stream, and some
others by using that command prior to redirecting.

 

How do I get the browser to automatically download this file after creating
it?

 

Thanks!

David Ringsmuth

_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/

Reply via email to