Creating Downloading Link

Dear All
I'm trying to create a downloading link in my iweb using HTML snippet. I created the following code in the snippet
a href=Movie.mov> Movie
(I removed the "<".mov" files.
However, it does not work in Mac ! When I right click and selected download, it downloaded the following "Movie.mov.html". Notice the ".html" extension... for some reason I cannot download the file as a ".mov" file and Mac doesnt allow me to change the extension. FYI, I can play the move in the browser but unable to download unless I have quicktime pro... I do not want users of my website to be buying quicktime pro just so that they can download my files.
Is anyone able to help ? What changes in my coding do i need in order to allow both PC and Mac users to download ??
Please help.. thanks a million.
Jojos

There are two ways of doing this without any coding. Go to ......
http://www.iwebformusicians.com/iWebMusicWebsite/iWebTutorials.html
... download the tutorial Domain Files and Downloads and look at page 4.

Similar Messages

  • Error when using format mask to create download link in report

    I'm following these directions to create a download link in a report region.
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/advnc_blob.htm#HTMDB25905
    ######### Table Structure...
    desc document_library
    Name Null Type
    DOC_ID NOT NULL VARCHAR2(40)
    DATE_ADDED NOT NULL DATE
    FILE_CONTENT BLOB()
    FILE_NAME VARCHAR2(100)
    MIME_TYPE VARCHAR2(100)
    DOC_NUMBER NUMBER
    ###### Report Region...
    select a.*, dbms_lob.getlength(file_content) length
    from document_library a
    ###### Download Link Column...
    Date Format: DOWNLOAD:DOCUMENT_LIBRARY:FILE_CONTENT:DOC_NUMBER::MIME_TYPE:FILE_NAME:::attachment:Download
    ####### Results...
    report error:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    The report region displays no rows (even though there is one row in the table), no links, and even more strange, it show the value of APP_USER where it would normally display the results.

    Josh,
    Your end result on page 58 and the instructions in that document link don't seem to correlate. Regardless, I:
    1) Copied page 58 to page 158 in your application.
    2) Removed the BLOB format mask from your report link.
    3) Changed your query to:
    select "ROWID",
    "DOC_ID",
    "DATE_ADDED",
    "USER_ID",
    dbms_lob.getlength("FILE_CONTENT") "FILE_CONTENT",
    "FILE_NAME",
    "MIME_TYPE",
    "DOC_NUMBER"
    from "#OWNER#"."DOCUMENT_LIBRARY"
    4) Specified the BLOB format mask for the FILE_CONTENT column.
    Seems to work just fine now (on page 158, that is).
    Joel

  • XML Forms: how to create download link

    Hi,
    can anybody tell me, how i can create a download link to a document rid
    in an XML form?
    I can create a link which will open the referenced document, but "right klick
    link | save target as..." will produce an error, since the link is a javascript call.
    Thanks for any help,
    bye,
    Markus Steinberg

    Hi Markus Steinberg,
         i need to create the Download attachement Option In XML Form..
         U got the solution for that above thread..
         If so please tell me how to create? and then how to create multiple Link ?
    Regards
    Thillai J

  • How to create downloadable links?

    I am trying to learn to use Adobe Creative Suite 3.  I have used Dreamweaver 3 to create a website hosting some lectures in flv format.
    I would like my viewers to be able to download the videos.
    Would be grateful if someone can tell me how to do it?
    My site is http://www.bereanbibleexpositions.org.  Other constructive suggestions are welcome as I am a newbie.
    Thank you very much.
    Nickyee

    Hi Murray ACP,
    Thanks for the comments
    Focusing on the screwdriver rather than the carpentry is a bad idea.  With Dreamweaver, you would be much better off leaving the CD in the box while learning HTML and CSS.  Without knowledge of those two, 'learning Dreamweaver' will be frustrating and tedious.
    I did learn a little of HTML and CSS.  Learning was easy.  But with a memory like a sieve, I forgot almost as soon a I learned.  So I just focus on what I need to get the job done.
    Since you have stated you are using Creative suite 3, I am also assuming that you are also using DW CS3 rather than DW3 (vintage ~1999).
    Yes, you are right.
    Hans pretty much has you covered here.
    Yes, almost.  Now, my flv files are sorted out.  Only the MP3 files refuse to be downloaded.

  • Create download link to file in KM

    Hi,
    In our portal I have configured a couple of KM iViews (on KM repositories) for anonymous access. Works fine.
    Now I would like to create a URL to a file in 1 of those repositories. The purpose is that when a user enters that URL in a browser, he/she will be asked if they want to download the file or not.
    Does anyone knows if it is possible to generate such a URL?
    Under Details -> Settings -> Properties -> Access of a file, there is a target URL. This URL works, but it opens the  file for me and doesn't give the option to download it.
    Regards
    Edmond

    The KM HTTP servlet supports that, but you need to build a different URI.
    As far as I recall, for a KM doc such as
    http://server/irj/go/km/docs/repository/test.doc
    the URI would be
    http://server/irj/go/km/docs?action=download&URI=/irj/go/km/docs/repository/test.doc
    (this is what you get when you choose "download" from the KM UI).

  • ICloud functionality at all re: download links or sharing

    Im sure this has been asked 1M times b4, but does iCloud have any iDisk functionality at all re: creating download links or sharing beyond my own devices?

    riece wrote:
    Im sure this has been asked 1M times b4, but does iCloud have any iDisk functionality at all re: creating download links or sharing beyond my own devices?
    No iDisk functionality at all, look to 3rd party providers, eg: SugarSync, Dropbox etc.

  • How do I create a downloadable link from an Interactive PDF file created out of InDesign CS6?

    Hello,
    I created an Interactive PDF file out of InDesign and would like to make the large file a downloadable link and share it with the user in an email. I do not want to use DropBox or GoogleDrive.
    The company I contract for has their own site - do I insert the file into the site or can I create a separate link for it?
    I will be recreating these presentation PDF's constantly, so I would like to know if there is a simple way to create this link for files in the size of 7-12MB.
    Any ideas on downloadable links? I do have flash - but rarely use, perhaps load the file out of flash?
    Thank you so much for your help,
    Megan

    Hi Willie,
    Thanks for your help. Most likely contact the company who maintains the
    site then to share the file with them I'm assuming?

  • Creating a file download link on jsp

    I have the following on my jsp. The code worked fine until I tried to use it in a new html design page.
    <code>
    //page name is index.jsp
    try //DISPLAY THE CONTENTS OF THE DATA DIRECTORY
    File dirname = new File(PATH); // create an instance of the File class
    if (dirname.exists()&&dirname.isDirectory())//check to see if File class dirname exists and is valid
    String [] allfiles = dirname.list();//create an array of files in the dirname File class
              for (int i=0; i< allfiles.length; i+=2)//loop through allfiles[] and print out file links
    out.println("<br><table border='1' cellspacing='1' width='99%'>");
                   out.println("<tr><td width='50%' class='pageFont'><input type='checkbox' name='cb' value='"+allfiles[i]+"'>"+allfiles[i]+"      ");
    %>
    <a class="a" href="index.jsp?downfile=C:\\data\\<%=allfiles[i+1]%>">DOWNLOAD</a></td>
    <% if(i+1 < allfiles.length)//PRINTS OUT THE SECOND TD SO THAT WE HAVE 2 COLUMNS OF LINKS
    out.println("<td width='50%' class='pageFont'><input type='checkbox' name='cb' value='"+allfiles[i+1]+"'>"+allfiles[i+1]+"      ");
    %>
    <a class="a" href="index.jsp?downfile=C:\\data\\<%=allfiles[i+1]%>">DOWNLOAD</a></td></tr>
    <%
    out.println("</form></font></table>");
    catch (IOException excep)
         out.println("An IO exception has occured.");
    </code>
    Then when clicked this code is run:
    <code>
    try{
    //CHECK TO SEE IF THE FILE HAS BEEN CLICKED TO DOWNLOAD SINGLE FILE
    if (request.getParameter("downfile") != null)
    String filePath = request.getParameter("downfile");
    File f = new File(filePath);//CREATE AN INSTANCE OF THE FILE CLASS AND POINT IT TO THE LOCATION OF THE DIRECTORY CONTAINING THE FILES
    if (f.exists() && f.canRead())
    response.setContentType ("application/octet-stream");
    response.setHeader ("Content-Disposition", "attachment;filename=\""+f.getName()+"\"");
    response.setContentLength((int) f.length());
    BufferedInputStream fileInputStream = new BufferedInputStream(new FileInputStream(f));
    int i;
    out.clearBuffer();
    while ((i = fileInputStream.read()) != -1) out.write(i);
    fileInputStream.close();
    out.flush();
    </code>
    When I click on this link I get the download dialog box. If I open it I get the following open up in notepad(the files I am trying to give download links are .txt files)
    Below is what is displayed in notepad ALL on 1 line:
    <html>
    <head>
    <LINK rel="stylesheet" ty
    That is displayed in all of the links that I click on. It is the first few lines of html code for index.jsp.
    I know this code is probably not a good way of doing what I need but I got it to work fine until the change.
    I am sure there is an easier way to code the download link without resubmitting the page.
    Thanks in advance!!

    Well all was fine with this jsp until I moved it to ApacheJServ. Now the problem has resurfaced(although it is a little different now)
    I had moved the following code to the top of my page:
    //CHECK TO SEE IF EITHER DOWNFILE OR ZIPFILE VARIABLE EXIST, AND IF THEY DO SET CONTENT TYPE BEFORE SENDING ANY HTML CODE TO THE BROWSER
    try{
    //CHECK TO SEE IF THE FILE HAS BEEN CLICKED TO DOWNLOAD SINGLE FILE
        if (request.getParameter("downfile") != null)
                String filePath = request.getParameter("downfile");
                File f = new File(filePath);//CREATE AN INSTANCE OF THE FILE CLASS AND POINT IT TO THE LOCATION OF THE DIRECTORY CONTAINING THE FILES
                    if (f.exists() && f.canRead())
                        response.setContentType ("application/octet-stream");
                        response.setHeader ("Content-Disposition", "attachment;filename=\""+f.getName()+"\"");
                        response.setContentLength((int) f.length());
                        BufferedInputStream fileInputStream = new BufferedInputStream(new FileInputStream(f));
                        int i;
                        out.clearBuffer();
                        while ((i = fileInputStream.read()) != -1) out.write(i);
                            fileInputStream.close();
                            out.flush();
                            response.flushBuffer();
    catch (Exception e){}
    //This is where the java code ends and the javascript/html code begins.Then further into the page I create the file download links like so:
                            <a class="a" href="main.jsp?downfile=C:\\data\\<%=allfiles[i+1]%>">DOWNLOAD</a>I know this isnt a secure way of doing this but I am on a intranet.
    The problem I am having now is that when I click on one of the links and download the file and then open it, I get the contents of the file plus concatenated to the end of it is the first few HTML lines of the actual jsp that I downloaded the file from. Before I was just getting the first few lines of html from the jsp, not the actual contents of the downloaded file.
    This is an example of what I am getting:
    This is the contents of the file that I downloaded.//This is where the file contents ends.
    <html>
    <head>
    <LINK rel="stylesheet" type="text/css" href="default.css">
    <script language="JavaScript1.2">
    //function that allows user to select all checkboxes
    function doIt(v)
    for(var i=0;i<document.form1.cb.length;i++)
       document.form1.cb.checked=eval(v);
    function swap(imageName,image)
    imageName.src = "templateImages/"+image;
    function imageOver(imageSrc, imageName)
         changeImage = new Image();
         changeImage.src = imageSrc;
         document.images[imageName].src = changeImage.src;
    var hide = true;
    function hideShow( ) /
    Any morre ideas?
    TIA!
    BTW, I went to ApacheJServ because they wont let me use tomcat :(

  • How do you create a link to download a PDF file?

    I'd like to create links so that when clicked, a PDF file associated with the link will automatically be downloaded. I've created a folder where I've stored all of the PDF files, but where on my web host do I put the folder--is it part of the published iWeb folder or should it be kept separate? (I'm using a 3rd party web host, Lunarpages.com)
    Second, to create the links, I've written "Download Page" on for each link, highlighted the words, then enabled it as a hyperlink with the inspector. However, this changes "Download Page" to the name of the PDF file. How can I keep the words "Download Page" without changing it to the name of the file? Also, is this the correct way to have a PDF file automatically downloaded when "Download Page" is clicked?
      Mac OS X (10.4.7)  

    Hi there,
    While I do not use iWeb, I do use PDF files on my website.
    I first create a new folder to hold my PDF files and upload this to my website. When I create and upload PDF files I will upload to this folder. When someone wants to view this files, all they need to do is click on the link I created. After clicking on link, if the user is on a PC, Acrobat Reader is automatically used to view the file or if they are on a Mac, Preview is usually the default viewer (if the they are using Safari, it will simply open in Safari). Just having the extension on yourfile.pdf will cause this and you will not need to do anything else on your end.
    FOR EXAMPLE: Download Sample PDF - try it on different browsers and PC's
    As far as 'download page', it automatically starts as soon as you click on link. If you are talking about 'saving' the user will always have that option on their end...
    Rick
    iMac G5 iSight 20" - 30G iPOD in Slimming Black -   Mac OS X (10.4.7)   - HP Pav 15" WS and Toshiba Sat 17" WS LP's - Canon 20D & A620

  • How to create a download link for video file?

    Hello guys,
    I know this is not a question directly related to OS X, but I just can't find a solution. So I was hoping that some of you might know the answer, or could recommend further reading.
    I have .mov video files (video footage) on the server. I would like to make these files accessible for download, via link.
    So I am wondering .... how can I create a link, which would allow people to download .mov video files from the server?
    Thanks for any advice or tip.

    The question is, where is the server?
    Is it on its own static IP? If it is not, it likely is on a DHCP configuration.
    For those with DHCP, I recommend http://www.dyndns.com as a workaround, otherwise the links given will have to change as often as every hour!
    Is it on a router, or does it have a firewall turned on in its sharing preferneces? Routers and firewalls block direct access from the outside. You need to setup the web sharing access on your router or firewall before someone can access it via the web.
    Is the .mov file saved via Quicktime? You would also need to provide link on your page to http://www.apple.com/quicktime so that it may be downloaded by those who don't have it. If it is another format, you'll need a link to whatever format it is.
    HTML for putting the video right on the page is usually controled by the EMBED function. That's covered here:
    http://www.htmlcodetutorial.com/embeddedobjects/_EMBED.html
    Otherwise a simple hyperlink to the file will do, once you have an open web sharing port on a static IP or dyndns controled domain.

  • How to create a link to download a .psd or .eps file

    I'm attempting to create a link to a .psd file for a user to download. Whenever I link to the .psd file, Dreamweaver wants to convert it to a JPEG. Is there a way to link to a .psd file to have the user download that file? I'm trying to have files that retain the original Photoshop elements (layers, channels, etc.) used to create the file. I will want to do the same with .eps files, but haven't attempted that yet. Any thoughts?

    Zip it.   http://www.7-zip.org/ - for windows.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • How to create a link for downloading bill in PDF format from Biller Direct

    Hi,
    Our requirement is to create a link on UCES Biller Direct screen, where user can click and down load his bill or invoice in PDF format.
    If any one can help me on this I will be highly thankful to him.
    Regrds,
    Ranadev

    cordova1126 wrote:
    > Need help on how you can have a PDF or a Word file be
    downloaded off a site.
    > I'm not sure where the pdf needs to be for it to be
    downloaded and what the
    > download button should have to call for the download.
    Any suggestions would be
    > wonderful.
    Check help files for details on "getURL" action.
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • How to create a link for download a file in text format

    Hi expect,
    I want to create a link when I link that link a text file should get download which i'm specified in jsp page. I tried by using hyper link it didn't get downloaded just it opened as it is. How can I resolve the problem.

    Swati.S wrote:
    in href provide another jsp name or servlet and pass filename as request parameter to this jsp or servlet. In called jsp or servlet set content type to application/forcedownload.Yes, that works (usually), but, IMHO, is nothing but a hack that you shouldn't use (and I could care less how often it is currently used in varying hacked scripts, such as this bogus force-download PHP script I've seen). That is an invalid MIME type (or at least unofficial/non-standard mime tye that most browsers will have no association for), so, since the browser doesn't know what to do with it, it'll ask the user what to do. And even that is not 100% certain. All I need do is create a mime-type to application association for that MIME type and, guess what, it doesn't work again (at least not the way you intended).
    The server should not be concerned with what the client does with the file linked to.

  • Uix BC4J: create a link download to download my resultsets

    Greetings,
    The case:
    - i've created my flows using the amazing uix bc4j technology;
    - end users can manipulate their data (view and update)
    - Now i'd like to create a link which will point over the query result and download the data with csv or xls format.
    Could anyone help me on that issue ? 've checked in online doc, did not find a valuable info.
    Thks for your help
    Cheers
    lb

    Hm - good point, Riley. Hadn't tried Go to URL, though I realise now this is simply because I forgot to ignore the dire warnings about "not a FrameMaker file" :-}
    However, now I have made the experiment:
    * opening the .pdf directly in Acrobat and clicking on the link opens the .zip application immediately - still no "download/open" option
    * opening the .pdf through a browser puzzlingly netts me "The file ///C:/tempo/mup55lin.tgz cannot be found. Please check the location and try again." Needless to say, the file in question is right there where it should be ...

  • How  to  create a direct  download  link  ?

       Hello,I want to download a trail product from Adobe,but I do not want to use Adobe Download Assistant  for its poor download speed.I want to creat a link such "http://trials2.stage.adobe.com/AdobeProducts/PHSP/13/win32/Photoshop_13_LS1.7z".But when I click it,it shows that
    Access Denied
    You don't have permission to access "http://trials2.stage.adobe.com/AdobeProducts/PHSP/13/win32/Photoshop_13_LS1.7z" on this server.
    Reference #18.e4c18d3f.1360043436.1274112
    Why? and I want to know where I can  download product.Could you please  offer an website  like  "ftp://ftp.adobe.com"  ?
    Thanks!

    I got it,thanks a lot Mylenium.
    But,I want to know  when I clik this link,
    "http://trials2.stage.adobe.com/AdobeProducts/PHSP/13/win32/Photoshop_1 3_LS1.7z",it shows me
    Access Denied
    You don't have permission to access "http://trials2.stage.adobe.com/AdobeProducts/PHSP/13/win32/Photoshop_1 3_LS1.7z" on this server.
    Reference #18.e4c18d3f.1360043436.1274112
    Why?

Maybe you are looking for

  • Satellite L650: Some combinations with the FN button do not work on W7x64

    Hello, System <h3>Satellite L650-1KU</h3>Part number <h3><span class="partNo">PSK1LE-01700MRU</h3> I have install Windows by myself - this laptop haven't any OS from factory. Installed Windows 7 x64, all drivers and utilites from Toshiba driver site

  • How do I get rid of an unwanted webpage in Safari on my iPad3?

    Even after I clear history and cookies and data on my iPad the webpage "t.homedepot.com" keeps showing up in the minized screen of Safari. When I touch it to maximize the browser to full screen it disappears and the last page I was browsing reappears

  • Editing Adobe 9.3 PDFs  HELP

    I am haaving trouble editing an Adobe 9.3 PDF any ideas?

  • Firefox flickers during ADF PPR

    Hi, When a PPR event is fired on ADF page element, which sets values to other fields, the panel or page is going grey for a while before re-rendering. Did anyone face this? This 'flicker' is supposed to be firefox bug as per some forums. Also, this f

  • SPDD issues

    Hi All, We are in the process of upgrade from 4.7 to ECC 6.0. We got a warning modification adjustment without modification assistant . We are not able to get the fix for it now. It is a warining with BNKA table . The warning message shows that issue