Solved

Automatic Download to specified path on hard drive

Posted on 2000-04-17
4
153 Views
Last Modified: 2010-04-09
Like I the file to saved in specific path on the user drive say c:\windows\fonts for font.ttf files...can i do that ?
0
Comment
Question by:bazet
4 Comments
 
LVL 8

Expert Comment

by:xabi
ID: 2726192
No you can't do that.

xabi
0
 
LVL 2

Expert Comment

by:burntout
ID: 2726596
No way, big security prob
what if someone could download a new autoexec.bat to you root directory, imagin all the fun stuff they could do.
0
 

Expert Comment

by:Tarraq
ID: 2730022
Hi Bazet!

I can't give you the answer for your question, but I have an suggestion.

What if you compressed your fonts or whatever in a .zip .gz .tar or .exe file, and then suggest the user where to put them. (By entering YOUR preferred location)

I know that Winzip does the trick, and probaly many more..

This is probaly the closest you will get to an answer...

Sincerly

- Tarraq
0
 

Accepted Solution

by:
jmtt13 earned 200 total points
ID: 2742391
Yes, I would say the same thing.  If you zip the files with specified directory structure, than where ever the user unzips them, it doesn't matter where the download was placed, the files will unzip to that directory.  I know this will work with PKZip and WinZip if you do it right.

On the actual web page, no, you cannot specify an exact default download folder.  You might be able to do this with a small program, though (e.g., a Java applet or an ActiveX control).  But to run it, you'd have to get the user's permission which is always a big hassle because they could choose not to do it and then your script would go bonkers....

Sorry not to be able to help out more.

JMTT13
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now