Solved

Automatic Download to specified path on hard drive

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP sending two datas 2 23
Can't get cursor to change 3 16
disable open new tab with right mouse click in <a> tag 3 20
Increase image taller on inner pages 2 21
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
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 …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

730 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