Hey community!
Just a quick question...
I have done a quick script for a client for downloading files without passing path information through to the user etc using ADODB.Stream. Thats working fine...
The client now also wants the user to be able to just open the file up in the browser (If supported. It doesnt matter if it isnt as it will force a download then anyways). So for files like PDFs, Excel etc they will open up in the browser.
Is there a way to do this without also giving away path information for the file?
I will probably not look to do anything like this but is there also a way check if the file can be opened in the users browser (do they support the filetype etc)?
Thanks.
- FateFirst
Just a quick question...
I have done a quick script for a client for downloading files without passing path information through to the user etc using ADODB.Stream. Thats working fine...
The client now also wants the user to be able to just open the file up in the browser (If supported. It doesnt matter if it isnt as it will force a download then anyways). So for files like PDFs, Excel etc they will open up in the browser.
Is there a way to do this without also giving away path information for the file?
I will probably not look to do anything like this but is there also a way check if the file can be opened in the users browser (do they support the filetype etc)?
Thanks.
- FateFirst