[thelist] Downloading .jpg & .pdf files

aardvark roselli at earthlink.net
Sat May 19 16:09:12 CDT 2001


> From: JTocher <janice at discoverysystems.com>
[...] 
> Question #1 - Is there anyway in straight HTML (or with a smattering
> of javascript) to download the file when the appropriate link is
> clicked instead of opening it in the browser? I know the file can be
> 'zipped' which will download instead of open the file - was wondering
> if this is the only solution.

guaranteed?  all users, all browsers?

no.

> Question #2 - Is there any way to 'override' the default download
> directory set in the browser so files downloaded from this site will
> go into their own folder?

guaranteed?  all users, all browsers?

no.

in both of these cases you'll have to rely on educating the user... 
not everyone wants to d/l the file, sometimes they want to 'preview' 
it before they download (never mind that they've just downloaded it 
to preview it)... also, as one user, i have a very specific download 
directory that i use... if any site ever tried to change that, and i 
knew it, i wouldn't be coming back... ever... smacks too much of 
playing with my file system, which gives me the willies...





More information about the thelist mailing list