43 users online (1 members and 42 guests)  


  Results 1 to 3 of 3

Related

  1. How to upload html file to publc_html    Forum: HTML Forum
    Replies: 2
  2. html file upload hel;p    Forum: HTML Forum
    Replies: 0
  3. Upload File    Forum: CGI Perl Forum
    Replies: 0
  4. How do I upload my file?    Forum: HTML Forum
    Replies: 3
  1. #1
    Know It All's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2009
    Posts
    1

    Question How do I upload a file to a HTML document?

    how do I make a link or some other tag or ect. that will allow the veiwer of the HTML document to download a file?



  2. #2
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    Re: How do I upload a file to a HTML document?

    Just make it as a regular link:
    HTML Code:
    <a href="link_to_file.zip">Download file</a>
    ...and the link_to_file.zip file should be on the server (same folder as your page is).
    Checkout my porfolio.
    Please click the button when a member helped you.
    Take time to use Forum's Search function.

  3. #3
    jthayne's Avatar

    Status
    Offline
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    508

    Re: How do I upload a file to a HTML document?

    One thing to remember, is that if the file type is something that your browser knows what to do (i.e. html, php, doc -- in IE), then the file will open in the browser rather than prompting for a download. The viewer will then have to go about clicking File | Save in order to save it to their computer. The easiest thing to do is use zip files for everything.



Tags for this Thread