Please enable javascript to view this page in its intended format.

Queen's University
 

Post Website Maintenance

 

Once your web space has been set up on the Post server you will need to use an SFTP client to upload files to your www directory, and a SSH client to log into your Post account and publish your web pages. Note: any time files within the www directory are changed, you will need to run the Publish command.

 



Use an SFTP Client to upload files to your post account


A SFTP client is used to securely transfer files between your personal computer and your Post account where your website will be hosted. ITServices suggests:

Log in to the Post server via SFTP

 

Launch your SFTP client and login to  post.queensu.ca 
  • Mac OS X - Fetch SFTP client
    1. Using the dropdown list entitled Profile Name, choose the entry for the Post server.
    2. You will see that the Host Name/Address value is already set up for you.
    3. Enter your NetID in the User ID text box.
    4. Enter your NetID password in the Password text box.
      Note: do not check the save password checkbox on lab machines.
    5. Click the OK button
  • Windows FilZila SFTP client
    1. Using the Quickconnect option, and 

    2. Enter for host: sftp://post.queensu.ca 
      sftp:// tell FileZilla to use SFTP protocol.
    3. Enter your NetID in the Username: text box.
    4. Enter your NetID password in the Password text box.
    5. Click the Quick connect button. 
      Note: do not check the save password checkbox on lab machines.

Back to Top


Using the SFTP Interface:

 

  • Macintosh Fetch SFTP client
    1. Fetch window displays the contents of the Remote site [your account on the Post server].
    2. Fetch allows you to drag and drop files to and from this window.
    3. Toolbar at top of fetch has options to create new folder, path (change), put (upload files) and delete files / folders. Double clicking on a folder will open the folder.
    4. Control-click or right-click on items to view a contextual menu with option to edit and download
  • Windows FilZila SFTP client
    1. The Session Properties window will disappear and you will be viewing a screen which displays two windows containing files and folders.
    2. The left hand window displays the contents of your Local Site [your machine].
    3. The right hand window displays the contents of the Remote site [your account on the Post server].
    4. Double-click on www directory to move into the directory.
    5. Double-click on your netid folder at the top of the remote window. This will bring you back up to the top folder in your account directory.

Back to Top


Log into the Post Server and Publish Your files to the WWW


When files are uploaded using a SFTP client, the default permission for the file(s) are read only for the user who owns the web space.  To allow others to see the file(s) in a browser the publish command needs to be executed. This adjusts the permission of the files in the www directory to allow access from the web server.  Note:  any time files within the www directory are changed, the Publish command will need to be run.

 

To execute the Publish command, open your SSH client application, and Login to the Post server.

 

  • Mac OS X - Terminal client
    1. Select from Finder's Go menu -> Utilities to access Terminal application. 
      Then type: ssh netid@post.queensu.ca  to log in. 
    2. The first time you will be prompted to accept DSA key fingerprint. Say yes.
    3. The post terminal window with command-line prompt will be displayed.
    4. At the prompt type: publish
    5. It's now time to review your files (see below).
  • Windows Putty SSH client
    1. To locate putty, check for a shortcut on your desktop and double-click it. If does not exists, Click on Start menu -> All Programs and look for the Putty folder.
      Note: If not installed, download from: http://www.putty.org/
    2. In the Host Name field enter: post.queensu.ca
    3. Select Connection type: SSH
    4. Optional, save the session configuration, by typing a name in Saved Sessions field and click the Save button.
    5. Click on Open button to connect. 
    6. The first time you will be prompted to accept DSA key fingerprint, say yes.
    7. At this time you will be prompted for password and a terminal window with a command-line prompt will be displayed.
    8. at the prompt type: publish
    9. It's now time to review your files (see below).

Back to Top


Viewing the files on the WWW


View the new file in your Post space (i.e. view the remote file) from a browser.

  • Launch your browser
  • In the address bar, type the URL to your new index page.
    • The URL or address for the remote page in your Post space will follow the following pattern: 
      http://hostname/~yourNetID/
      OR 
      http://hostname/~yourNetID/index.html
       

      For example, if my NetID is "myid" and I am using an account on the Post server, the URL to my remote page would be:
      http://post.queensu.ca/~myid/
      OR 
      http://post.queensu.ca/~myid/index.html

Back to Top


Kingston, Ontario, Canada K7L 3N6 613.533.2000