Managing Files With Contribute

From Web Development

Jump to: navigation, search

Contents

For www.gmu.edu or mason.gmu.edu

Prerequisites

IMPORTANT: Fix Server Upload Permissions

The default setting for newly uploaded files is that they are only readable by the user that uploaded them. This results in a "Forbidden" error when the files are viewed through a web browser.

Follow this tutorial to adjust this setting:

Setup a Connection

  1. Open up Contribute, choose Edit > My Connections (or Contribute > My Connections if you're on a Mac) and hit Create. Alternatively, If the Create Connection button is on the main toolbar, you can click that instead. Hit Continue.
  2. Leave "Website" selected, enter your site's web address, and hit Continue.
  3. Select "Secure FTP (SFTP)" from the dropdown. Enter mason.gmu.edu as the "name of your SFTP server", and your username and mason.gmu.edu password. Hit Continue.
  4. Enter one of the following for "what folder contains your web site", and hit Continue:
    • For personal sites: public_html/ (Note: This directory should be set up first.)
    • For sites on www.gmu.edu: /usr/local/htdocs/your_directory_path
      (Replace your_directory_path appropriately. For instance, if your site is located at www.gmu.edu/departments/english, your_directory_path would be departments/english)
  5. Enter your name and email address. Hit Continue, and then Finish.

That's it. You should now be able to navigate your site through Contribute, and edit as needed.

For gunston.gmu.edu

Prerequisites

Setup a Connection

  1. Open up Contribute, choose Edit > My Connections (or Contribute > My Connections if you're on a Mac) and hit Create. Alternatively, If the Create Connection button is on the main toolbar, you can click that instead. Hit Continue.
  2. Leave "Website" selected, enter your site's web address, and hit Continue.
  3. Select "Secure FTP (SFTP)" from the dropdown. Enter gunston.gmu.edu as the "name of your SFTP server", and your MESA username and password. Hit Continue.
  4. For "what folder contains your web site", enter /your_directory_path
    (Replace your_directory_path appropriately. For instance, if your site is located at gunston.gmu.edu/example, your_directory_path would be example). Hit Continue.
  5. Enter your name and email address. Hit Continue, and then Finish.

That's it. You should now be able to navigate your site through Contribute, and edit as needed.

Personal tools