CUCC Expedition Handbook

Uploading photos, GPS tracks and files

The expo website has a big section under 'expofiles' that is not part of the version control repositories. This section describes how to move files into that area. It supports 2 basic methods of upload:

  1. Uploading directly to the file store using scp/sftp/rsync
  2. Uploading to a special 'uploads' directory using Webdav

In both cases you need to know the expo password.

In the former case nothing else needs doing. In the second case an admin has to move the files to the correct final location, so remember to tell someone you've done it.

Note that uploading photos does not automatically update the view at http://expo.survex.com/photos/. An update script needs to be run. This should run once/day around midnight UTC, but may be broken. Prod a web admin if nothing is updated by the next morning..

On Linux, scp/sftp and rsync are command line tools, but WIndows users may find it much easier to use Filezilla, an FTP client which also works with the sftp protocol. See Filezilla Project.

Installing FireFTP

Works on Windows, Mac, Linux, Android. This is a firefox browser plugin that enables FTP/SFTP uploads using just your browser.

  1. Install the firefox web browser. You can download it and find instructions here: http://www.mozilla.org/en-US/
  2. Install the FireFTP addon. You can download this from addons.mozilla.org
  3. Restart firefox
  4. Start FireFTP (its hidden in the tools menu under 'web developer'.
  5. FireFTP will open in a new tab. You should have 2 largish squares of files, one showing what should look like very familiar files and folders from your computer on the left and one which is completely greyed out on the right.
  6. Select 'create an account' in the top left hand corner, a box full of fields requiring information should appear.
  7. Under the main tab you can set the account name to be whatever you like, I suggest expo. Set the host to be: "expo.survex.com". The login is expo and the password is the usual password (email me if you cant remember). Under the connection tab you need to set the security to be sftp. Everything else should be left alone.
  8. Press connect and the expo websites files should magically appear in the right hand side of the screen.
  9. Upload your desired files to somewhere sensible using the green arrows on the centre of the screen.

Using scp

Works on Windows (using winscp), Linux (using scp), and no doubt mac and android with other tools. If you have Windows 10 and have installed bash, then you can use scp.

The above FireFTP is just one example of a tool that does this job

directory: /home/expo/expofiles/photos/2017/YourName
server: expo.survex.com
user: expo
with the usual expo password
protocol: sftp or scp
Or for GPS tracks, do
directory: /home/expo/expofiles/gpslogs/2017/YourName
server: expo.survex.com
user: expo
with the usual expo password
protocol: sftp or scp

Obviously replace 'YourName' with your actual name (no spaces!)

If you don't have winscp installed you can get it from here: http://winscp.net/eng/index.php

quick start guide: http://winscp.net/eng/docs/getting_started

screenshots: http://winscp.net/eng/docs/screenshots

Using Webdav

This method can only upload to one special 'uploads' directory. Ask someone to move your uploaded files to the final location. But you may not need any extra software.

This is the upload dir: http://expo.survex.com/expofiles/uploads/

You can use 'open as webfolder' on IE, or install this: https://addons.mozilla.org/en-US/firefox/addon/open-as-webfolder/ on firefox, you will get a pop-up box asking for authenticaion for 'expo-uploads'. The user is 'expo', the password is the usual one. Once done you can just copy files in.

Make a directory like photos/2015/YourName so we know what's been uploaded.

Command-line people can use the 'cadaver' client which is even available for windows too: http://www.phtagr.org/2009/04/01/cadaver-for-windows/

They both give you an 'explorer-like' interface (although winscp can give you a norton-commander-style 2-pane UI as well).