+ Reply to Thread
Results 1 to 4 of 4

Thread: Ftp

  1. #1
    bdsstudentprogram is offline x10Hosting Member bdsstudentprogram is an unknown quantity at this point
    Join Date
    Mar 2010
    Posts
    4

    Unhappy Ftp

    I cannot get documents to load on my website. I have the template up, and the menu running, but when I load all of my files onto my FTP client (Cyberduck), nothing shows up on my site. Is there a certain way that I need to organize my files before loading them? Do I need to change the file extensions to html?

  2. #2
    spadija's Avatar
    spadija is offline x10Hosting Member spadija is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    48

    Re: Ftp

    Are you putting your files inside the /public_html folder on your site? Any files that you want to show up on your site need to be inside /public_html. (On other hosts, this folder could also be named /htdocs or /www) Also, your home page should be named index.html or index.php.

    What file extensions do your files currently have? If they are web pages, they should probably have a .htm, .html, or .php extension. .htm and .html mean the same thing, so if all your files are .htm, there is no need to change them to .html.

    Also, this probably sounds silly, but make sure your files are actually on the server. Assuming that you are hosted here or somewhere else with cPanel, go to your cPanel page and click on the file manager link. Make sure the files you want on your site are in the /public_html folder. If they aren't you may have loaded the files into your FTP client, but not transferred them.

  3. #3
    bdsstudentprogram is offline x10Hosting Member bdsstudentprogram is an unknown quantity at this point
    Join Date
    Mar 2010
    Posts
    4

    Re: Ftp

    Is the index page something that was generated when I created my domain, or is it something that I have to go in and create? I don't have any files that I want on my home page, so if it's something that I have to create, how do I do so? Also, I checked my file manager and my site is showing up in the public_html folder. If I want people to be able to download the documents on my site, would loading them as html allow users to do so?

  4. #4
    spadija's Avatar
    spadija is offline x10Hosting Member spadija is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    48

    Re: Ftp

    Quote Originally Posted by bdsstudentprogram View Post
    Is the index page something that was generated when I created my domain, or is it something that I have to go in and create? I don't have any files that I want on my home page, so if it's something that I have to create, how do I do so?
    A placeholder index page was probably generated when you created your domain, but that's not the page you want to show up on your site. If you want people to be able to download documents, you need to create an index page with links to those files. The index page is just the first page you see when you go to the site. For example, if you type "http://google.com" into your address bar and hit enter, you'll end up on Google's index page.

    Quote Originally Posted by bdsstudentprogram View Post
    Also, I checked my file manager and my site is showing up in the public_html folder. If I want people to be able to download the documents on my site, would loading them as html allow users to do so?
    Renaming a file that isn't an HTML document to .html will only cause problems, as web browsers will try to load the documents as HTML formatted files. HTML files have to be written a certain way, and if you, say rename a PDF file to .html, web browsers won't know what to do with it. I suggest you read up on HTML and maybe look at a tutorial or two. http://www.w3schools.com/html/ has nice tutorials, but there are other tutorials out there as well.

    A simple page with a list of links might look something like this: (note, this will not look pretty at all)
    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html>
      <head>
        <title>The text that should appear in the browser's title bar</title>
      </head>
      <body>
        <h1>This Is a Web Page With a List of Links</h1>
        <ul>
          <li><a href="/path-to-a-picture.jpg">This is a link to a picture</a></li>
          <li><a href="/another-page.html">This is a link to another web page</a></li>
          <li><a href="http://google.com">This is a link to Google</a></li>
        </ul>
      </body>
    </html>
    You might also want to look at a content management system or blogging platform, like Joomla or Wordpress (there are many others too). Generally, you download the software, upload it to your website, and run an install script of some sort. The system will then set everything up and manage the dirty work of your website for you.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers