Solved

Automatic Download to specified path on hard drive

Posted on 2000-04-17
4
154 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HTML Relative path 9 32
CSS Logo Problem. 2 20
Create CSS Animation for Page Transitions 4 24
How to change the link of an image using md5 in php ? 3 30
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.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

785 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