Hi,
I want to create a csv file on the fly and download it on client browser. I have all the content of csv file in a vb script variant variable. I created the csv file using textstream and FSO object.
I have tried adodb streaming(using ADODB.Stream object) to download but it requires me to save the content in a csv file on the server before I can download it to client browser. This creates additional problem of file cleanup. The file download takes time(probably it spawns a new thread) and an attempt to delete the csv file on the server gives an error.
So, I want to do it on the fly, without creating a csv file on server.
Any suggestions and solution would greatly help.
Thanks,
Gaurav
I want to create a csv file on the fly and download it on client browser. I have all the content of csv file in a vb script variant variable. I created the csv file using textstream and FSO object.
I have tried adodb streaming(using ADODB.Stream object) to download but it requires me to save the content in a csv file on the server before I can download it to client browser. This creates additional problem of file cleanup. The file download takes time(probably it spawns a new thread) and an attempt to delete the csv file on the server gives an error.
So, I want to do it on the fly, without creating a csv file on server.
Any suggestions and solution would greatly help.
Thanks,
Gaurav
Comment