Download documents

Hi all,

I have a question, our scriptcase-product enables the enduser to download files that are stored in a MySQL-database.
This all works fine on a local host, but once deployed on the webserver, the downloaded documents are stored in the appdata-folder of the enduser (for security reasons it looks like the files are not accessible)?

Is there a way to have them downloaded in the general download folder of the enduser? Setting, or other (by code)?

thanks, regards,
Glenn

Actually I don’t understand this. If you download a file you can select ‘save’ (which will store the documents in ‘downloads’) or open it directly. The issue you describe is about the local storage of the client isn’t it? Depending on the file type it might be that the webbrowser or windows is configured that it will protect you against opening files from the internet directly. But you cannot change that behaviour using php code, it needs to be set on your clients pc.