is there anyway to specify which folder you want the file to be downloaded by a download link?
let say i have a word document to be downloaded and i want it to be downloaded in users mydocuments folder by default. is there any way to specify that?

Recommended Answers

All 5 Replies

Member Avatar

I don't believe it is possible. Security setups don't allow website to control that kind of information. Especially considering that some users won't have a My Documents folder! Then where the file go?

i like your avatar :)
yeah i also thought it was not possible...

No because not all filesystems are the same, and there is no guarantee the user data will be in a standard, static, or even local location anyway.

Member Avatar

No because not all filesystems are the same, and there is no guarantee the user data will be in a standard, static, or even local location anyway.

Each user specifies this in the browser.

obviously, but there is no way for a remote site to influence this using plain html

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.