r1 - 11 Jul 2006 - 05:28:47 - EdwardDaleYou are here: TWiki >  GRAPEcluster Web  >  Documentation > UploadingFiles
There are two ways to upload files. The method one chooses is determined by the relative size of the file to be uploaded. Small files (<1 megabyte) are typically images, thumbnails, and small PDFs. These can be uploaded by following the built-in FileAttachment system.

Larger files are typically movies or large PDF files. These need to be copied to the grapecluster web directory directly. The steps to do this are given below.

  1. Copy the file to the grapecluster web directory using the following command.
    scp <filename> <username>@queeg.cs.rit.edu:~grapecluster/public_html/files/
  2. Set the permissions of the file using the following command.
    ssh <username>@queeg.cs.rit.edu chmod ugo+rx ~grapecluster/public_html/files/<optional directory>/<filename>
  3. Link to the file using the following address: directory>/<filename>

The magic that allows access to the files directory from the web can be found in ~grapecluster/public_html/.htaccess

-- EdwardDale - 11 Jul 2006

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
General Information
Technology
  • Resources

Documentation
Repository
Related Projects
  • GUI Development
  • MovieMaker?
  • GUI
  • 3D Input Devices
  • Fly Through Path

Related Sites

 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback