Classic ASP - saving document as .doc without save dialog prompt


#1

I would like to save a dynamically built document by specifing a path and filename and not invoking the 'Save' displag - is that possible ?


#2

If you want to save the file on the client side you can save it directly to client's computer if you specify the URI that points to client's file storage resource and is accessible from you server.

Otherwise, it will require another approach. You need to post to client a script instead of a file, which will then execute on client's side requesting the file from server and saving it to client's location without prompting. As far as I know that is technically possible but I have not tried it myself and therefore cannot provide any specifics on how this script should be written.

Best regards,