Results 1 to 2 of 2
Open Program from HTML Link Forum: HTML ForumReplies: 10
unable to run perl script on Linux / XP browser, instead asking me to save or open it Forum: CGI Perl ForumReplies: 3
code for downloading, option to open or save Forum: HTML ForumReplies: 4
Save As Dialog Box Forum: Website Scripts ForumReplies: 3
04-13-2009, 04:11 AM #1
how to open save/open dialog using HTML
How can I force the open/save file download dialog box when I click the <a> tag?. There is a zip file available in remote server and also I have a link with that zip file when user clicks that link we want to download that zip file to a local system. But I am trying with normal html file then it will work fine but zip file then that dialog box doesn’t show. This format I have tried with local systems zip file itself it the dialog box is not opening. Can anybody please give me the solution.
<Div align=center id=Sect1>
<Img Src='1.jpg' id=IMG1>
<p> This is some text</p>
<a onClick="openDialog()"> link </a>
04-13-2009, 01:39 PM #2
Re: how to open save/open dialog using HTML
Have you tried the following?
<HTML> <head> </head> <body> <div align=center id=Sect1> <img Src='1.jpg' id=IMG1> <p> This is some text</p> </div> <center> <a href="\\172.16.2.1\ELSTest\Projects\QTS\Q0002\pdfviewer_src.zip"> pdfviewer_src.zip </a> </center> </body> </HTML>
Last edited by HTML; 03-09-2012 at 10:47 PM.