473,320 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to set users download directory?

Hello there,

I'd like to set the users default download folder on their PC to a certain
location (if it exists). The users will be downloading documents and we want
to try to minimise the chances of them being littered all over their PCs.

Any suggestions? I don't want to create directories on their PCs just make
them the default directory when the download dialogue appears.

Regards,

Lachlan


Jul 20 '05 #1
3 3091
"Lachlan Gemmell" <lg************@wiPLEASEms.com.au> writes:
I'd like to set the users default download folder on their PC to a certain
location (if it exists). The users will be downloading documents and we want
to try to minimise the chances of them being littered all over their PCs.

Any suggestions?
None, except to give up.
I don't want to create directories on their PCs just make
them the default directory when the download dialogue appears.


That could, almost, be harmless. But then again, clicking on a
linke to download a file called "start.exe" and not noticing that
the download directory is not the usual one, but instead C:\windows\
could be ... interesting.

Don't mess with people's defaults. It's their defaults, not yours.

Would you be able to set the old default directory back afterwards?
Would you then know the directory name? Could you send it to your
server?

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #2
The users are intranet users and it's in their interests for these documents
from our intranet site to go to a standard location on their hard drive.
That's the reasoning behind it, in case you're holding out on a technique to
do this.

Regards,

Lachlan
Jul 20 '05 #3
Lachlan Gemmell wrote:
The users are intranet users and it's in their interests for these documents
from our intranet site to go to a standard location on their hard drive.
That's the reasoning behind it, in case you're holding out on a technique to
do this.


You might try looking into an ActiveX object. Javascript has no resource
(other than the ability to script an ActiveX) to change the download
destination.

--
Randy
Chance Favors The Prepared Mind

Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Rod | last post by:
Hi, I have a script that download any file to the user according to the parameters. I call the script like this: download.php?file=xxx/myfile.doc&file_short=myfile.doc My script is working...
4
by: Richard Morey | last post by:
Hello, I am working on a document management system for a client. I am planning to set up the system so that documents are protected, sort of.. A user has an access level and based on that...
0
by: CodeMotion | last post by:
I have access to an internet directory and files will be placed in this directory periodically. I am writing a service to poll that directory and download the files for processing. I have figured...
3
by: Skwish | last post by:
Hi, I would like to download all the files from a folder (of various types i.e. ..txt, .dll, .dat, etc.). I tried Dim MyDir As IO.Directory Dim path As String = Me.MapPath(".") & "\Data" Dim...
10
by: Don Munroe | last post by:
This one has me stumped. I have three web applications running on two different servers. The first that works fine is hosted by a .Net hosting company. Everyone that uses it has no problems...
8
by: kieran | last post by:
Hi, I want to download an image from the web and save it locally. I have spent all day messing about with this and am still no where. We have a firewall so i use the below code. I know it...
1
by: Sivaraman.S | last post by:
I am unable to create new users using directory services in Windows 2003 server. But it is possible to create users with ASP.NET applications in windows 2000. I am getting "Permission Denied"...
2
by: deko | last post by:
I have files on my Apache web server that are NOT in publicly accessible space. I want to make these files available for download only to authenticated users. I currently use a download script...
16
by: matt | last post by:
I have used some free code for listing files for download, but I want to send an email to the administrator when the file has been downloaded. I have got some code in here that does it, but it will...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.