Click to See Complete Forum and Search --> : save box to save file to their hard drive


jasonc
12-20-2003, 04:56 AM
i hold meetings and would like to have members download agenda items in one go instead of right click save page as, on each page.

what i hope for is when i user clicks a box is then opens a Save box/window to save any files that i choose.

maybe a window that opens with options to choose which files they want and then a 'Save to computer' button that then opens up a 'save' box to choose where to save them.

not asking for much but hope there is a way someone can help me make this up if it needs to be written from scratch.

even just to get me started.

thanks

J

Khalid Ali
12-20-2003, 07:56 AM
if you are after making changes to save file dialogue box using a client side script? then thats almost impossible.Browser will not have access on your system resources.

ray326
12-20-2003, 03:31 PM
You have to have server-side programmability to do that; do you?

jasonc
12-20-2003, 05:00 PM
i think i am going in circles here.

think on this....

i have files which are on the website, they select which file/s they want and then click another button to download it,

a bit like clicking on one button to get it but i want them to click the ones they want by selecting it with a select button and then clicking another button to actually get the file/s downloaded.

below is what i want it to do. copy it into a notepad file and save it as a webpage and open to see what i mean.








<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 method="POST" action="--WEBBOT-SELF--">
<!--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>

jasonc
12-20-2003, 05:48 PM
think i have it but not sure.

i think this should work, just thought of it,

f1 f2 f3 are the boxes that would be selected, if yes it = y if it was not selected then it would = n

when the button is clicked it then performs the following.


<ONCLICK save 'open file save as box' 'file1 and f1=y' 'file2 and f2=y' 'file3 and f3=y'>


think i might have lost some of you with this. it is based on the adition function.
a=1, b=2, c=3

z=(a=1)+(b=1)+(c=1)
z= 1 + 1 + 1 !!!

confused....

i am sure it can be done. i am sure it will have something to do with this <ONCLICK>