To take part in discussions on talkSFU, please apply for membership (SFU email id required).

Uploading webpages to the SFU FTP server?

edited June 2008 in General
I had no trouble uploading my 1st assignment to the FTP server and I could access my page at www.sfu.ca/~userid.

But how do I upload more webpages (my 2nd assignment) to the server? Do I have to remove the 1st assignment first? I read the instructions and it said my starting file should be named index.html; however, my first assignment is named that already.

Comments

  • edited June 2008
    You might want to specify which course you're talking about before you go referring to "the first assignment" or "the second assignment" or whatever.

    I'm going to take a guess and say it's cmpt 165?

    Try this:
    Rename your first assignment to assignment1.html and your second one to assignment2.html.
    When you go to your webspace, you should see a list of the two files, and as long as you don't have anything named index, you should continue to see that list, which will allow you to select which page you want to view.


    edit: free rice huh?
  • edited June 2008
    Yes, it is cmpt 165.

    For some reason, my first assignment is stuck on www.sfu.ca/~userid. Even when I remove the file (or rename it to something else) from the server, I can still access it!
  • edited June 2008
    I finally fixed the problem! I had to rename the pub_html directory to something else and then rename it back to pub_html to get it to work.
  • edited June 2008
    you probably just needed to refresh the page (sometimes you need to click the refresh button twice)....your browser likes to cache webpages.
  • edited June 2008
    ctrl+f5 = force to load from server.
  • edited June 2008
    Uh, use the CMPT 165 webserver if you're going to hand in assignments. It's less complicated than your personal webspace.

    If you name your file index.html, the server automatically loads it so don't do that.

    Besides that, have you never heard of folders?

Leave a Comment