i want to make a button that opens up a save as box to save multipule pages from the website.

J

Jasonc

we hold many meetings and members only want certain files, i want to save
them time in allowing them to save just the files they want, i want to make
it easy for them. and i do not want to have them right click and save as,
cos sometimes they want all of the files and they would have to do this to
each one,

sometime they might be up to 100 files to get and they might only want 20 of
them, and not everyone will have the same ones. so NO i can not put them
all in a zip file, as they can NOT use these files. and they will never be
able to.

i think this is a better discription of what i am after.......

i have many files on the website and want to set up a page for them to
select the files they want by checked boxes and then for them to click the
last button which would be a DOWNLOAD button that would open a SAVE AS box
asking for a location on the pc where they are to be save to, and these
file would then be copiewd from the website to the location they have
selected.

batch saving, the files they have selected.

how can this be done???

what ever way it can be done let me know.

thanks

J
 
J

Jasonc

this is what i am after. copy the following text into a webpage brouser,
or paste it in to notepad and then save as a webpage(html) and open.




<html>

<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 2</title>
</head>

<body>

<form onclick= method="POST" action="--WEBBOT-SELF--" method="POST">
<!--webbot bot="SaveResults" s-builtin-fields --><p>select the file you
require and then click <b>DOWNLOAD</b> to obtain them.</p>
<p><input type="checkbox" name="C1" value="ON">file one</p>
<p><input type="checkbox" name="C2" value="ON">file two</p>
<p><input type="checkbox" name="C3" value="ON">file three</p>
<p><input type="checkbox" name="C4" value="ON">file four</p>
<p><input type="checkbox" name="C5" value="ON">file five</p>
<p><input type="button" value="DOWNLOAD" name="B1"></p>
</form>
<p>--------------------------------------------------</p>
<p>the out come should be that a save as window would open asking for a
location
on their pc, to save them to and clicking the save button in this window
would
then save all the selected files they have chosen.</p>
<p>note.&nbsp; all the files that are selectable are already on the
server,&nbsp;
they are all Word Docs,&nbsp; I am unable to import them all as there are
hundreds of them and they would have to be reformatted to fit on the
webpage, as
they contain formatting that are not compatible with HTML, so this is the
only
way I can do this.</p>
<p>&nbsp;</p>
<p>thanks in advance for any help that you can give me.</p>
<p>J</p>

</body>

</html>
 
T

Thomas A. Rowe

The only way I can think to accomplish this would be via a server-side
application written in ASP, PHP, etc where a reference is store for each
file, then when the user select the files the application would loop thru
the selection presenting each file for download, however this may not work
due to download size of each document may cause the script to timeout.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
J

Jasonc

is there a way to have them click a button and it starts the download to a
location i choose?, maybe not as this would mean i could store the file
ANYWHERE!!

what about click here to down load and a download box open asking for a
location, what is the java script for this??

thanks again

J
 
T

Thomas A. Rowe

This would not be done with JavaScript, requires custom written ASP, PHP,
etc. as it is run from the server, not from the browser. What OS is your
site hosted on?

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
J

Jasonc

just another thought, can i import a C++ program in the webpage? if so i
could write my own.
 
T

Thomas A. Rowe

No, you can not import program into a web page. You need to use a custom
written server-side application as indicated.
--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
M

MD WebsUnlimited.com

Can you write an ActiveX component? If so, then you could include that into
the web page but there are restrictions.
 
J

Jasonc

ok, how do I go about writing this, what software do I need.

what are the restrictions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top