Results 1 to 9 of 9

Thread: Want to upload a Word.doc and provide a link for download for it on hosting package?

  1. #1
    RSVEcosse is offline Forum Member
    Join Date
    Mar 2007
    Posts
    573

    Default Want to upload a Word.doc and provide a link for download for it on hosting package?

    This should be a pretty simple question to answer, but I have no idea how to get it working.

    I have a Word .doc I want to stick up on my hosting package so I can provide a link on a forum for it so folk can download the Word .doc

    It's for a charity support poster for a friend of mine who's little girl is in a bad way.

    Where do I put this in my hosting via my FTP?.

  2. #2
    stukelly is offline Forum Member
    Join Date
    Jul 2007
    Posts
    90

    Default

    Hi RSVEcosse,

    Quote Originally Posted by RSVEcosse View Post
    I have a Word .doc I want to stick up on my hosting package so I can provide a link on a forum for it so folk can download the Word .doc

    Where do I put this in my hosting via my FTP?.
    Just upload it into the www folder. This is where the main web site hosting content is kept.


    To link to the document in html use the following code.
    HTML Code:
    <a href="myWord.doc">Download Document</a>

    Let me know if you need any further help.

  3. #3
    jc8654's Avatar
    jc8654 is offline Forum Member
    Join Date
    May 2007
    Location
    Cambridge, UK
    Posts
    1,594

    Default

    If you're going to have a few files appearing, you might want to put them in a separate folder inside the www/public_html folder. I'm not sure if you're Windows or Linux hosting put on Linux I put mine in /public_html/docs and then the link code I use is

    HTML Code:
    <a target="_blank"  href="docs/filename.doc">Opens in new window</a>
    Jonathan Crass
    Joint Partner in Checker Design
    Joint Partner in Jst Hosting

    UK Website design
    UK based monitoring
    Cheap UK Web Hosting

  4. #4
    WelshTom is offline Forum Member
    Join Date
    May 2007
    Location
    Newport, Wales
    Posts
    998

    Default

    Quote Originally Posted by jc8654 View Post
    If you're going to have a few files appearing, you might want to put them in a separate folder inside the www/public_html folder. I'm not sure if you're Windows or Linux hosting put on Linux I put mine in /public_html/docs and then the link code I use is

    HTML Code:
    Opens in new window
    target="_blank" - Yuck, that's nearly as bad as frames :P

  5. #5
    esnail is offline Premium Member
    Join Date
    Mar 2007
    Posts
    493

    Default

    Quote Originally Posted by WelshTom View Post
    target="_blank" - Yuck, that's nearly as bad as frames :P
    Agreed, the target attribute is deprecated and is considered to provide poor accessibility. If you really do need to open a new window then consider a javascript solution.

  6. #6
    jc8654's Avatar
    jc8654 is offline Forum Member
    Join Date
    May 2007
    Location
    Cambridge, UK
    Posts
    1,594

    Default

    I would agree with you for normal situations e.g. website hostings, images etc. but for opening documents, it's often a lot easier having them open in another window. People generally close the window after they're done and it still means they have the website hosting open.

    I don't just do things for the hell of it.
    Jonathan Crass
    Joint Partner in Checker Design
    Joint Partner in Jst Hosting

    UK Website design
    UK based monitoring
    Cheap UK Web Hosting

  7. #7
    esnail is offline Premium Member
    Join Date
    Mar 2007
    Posts
    493

    Default

    A .doc wouldn't be opened by your browser anyway - it'll be a file download.

  8. #8
    jc8654's Avatar
    jc8654 is offline Forum Member
    Join Date
    May 2007
    Location
    Cambridge, UK
    Posts
    1,594

    Default

    Some browsers open .doc files like PDFs inside the browser itself. And in that situation I've found it most convenient for the user to have the file open in a new window. It's like if you were downloading a zip you'd know that the web site hosting was still there when you closed or minimized the download window.
    Jonathan Crass
    Joint Partner in Checker Design
    Joint Partner in Jst Hosting

    UK Website design
    UK based monitoring
    Cheap UK Web Hosting

  9. #9
    WelshTom is offline Forum Member
    Join Date
    May 2007
    Location
    Newport, Wales
    Posts
    998

    Default

    Quote Originally Posted by jc8654 View Post
    Some browsers open .doc files like PDFs inside the browser itself. And in that situation I've found it most convenient for the user to have the file open in a new window. It's like if you were downloading a zip you'd know that the web site hosting was still there when you closed or minimized the download window.
    As we've stated, a new window can be achieved using javascript - there is no need to use this target="_blank" nonsense.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About eUKhost
We're a Leeds-based web hosting provider specialising in Linux- and Windows-based hosting solutions now serving over 35,000 customers worldwide. Across our network, we host over 2 million websites in our state-of-the-art data centres in Reading, Maidenhead and Milton Keynes. Find out more.
we're social

Copyright © 2014. eUKhost Ltd. All rights are reserved.

The opinions or views of users on the forum are those of the author and not of eUKhost Ltd.