2014-09-20 07:45:36 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
< title > CUCC Expedition Handbook: Uploading files/photos< / title >
< link rel = "stylesheet" type = "text/css" href = "../css/main2.css" / >
< / head >
< body >
< h2 id = "tophead" > CUCC Expedition Handbook< / h2 >
< h1 > Uploading photos and files< / h1 >
2015-09-29 12:39:48 +01:00
< p > The expo website has a big section under 'expoimages' that is not part of the repositories. This section describes how to move files into that area. It supports 2 basic methods of upload:
2014-09-20 07:45:36 +01:00
< ol >
< li > Uploading directly to the file store using scp/sftp/rsync< / li >
< li > Uploading to a special 'uploads' directory using Webdav< / li >
< / ol >
< / p >
2015-09-29 12:39:48 +01:00
< p > In both cases you need to know the expo password.< / p >
2014-09-20 07:45:36 +01:00
< p > In the former case nothing else needs doing. In the second case an
2015-09-29 12:39:48 +01:00
admin has to move the files to the correct final location, so remember
2014-09-20 07:45:36 +01:00
to tell someone you've done it.< / p >
< p > Note that uploading photos does not automatically update the view
at < a href = "http://expo.survex.com/photos/" > http://expo.survex.com/photos/< / a > . An
update script needs to be run. This should run once/day around
2015-09-29 12:39:48 +01:00
midnight UTC, but may be broken. Prod a web admin if nothing is
updated by the next morning..< / p >
2014-09-20 07:45:36 +01:00
< h2 > Installing FireFTP< / h2 >
2015-09-29 12:39:48 +01:00
< p > Works on Windows, Mac, Linux, Android. This is a firefox browser plugin that enables FTP/SFTP uploads using just your browser.< / p >
2014-09-20 07:45:36 +01:00
< ol >
< li > Install the firefox web browser. You can download it and find
instructions here: < a href = "http://www.mozilla.org/en-US/" > http://www.mozilla.org/en-US/< / a > < / li >
< li > Install the FireFTP addon. You can download this from < a href = "https://addons.mozilla.org/en-US/firefox/addon/fireftp/" > addons.mozilla.org< / a >
< / li >
< li > Restart firefox< / li >
< li > Start FireFTP (its hidden in the tools menu under 'web developer'.< / li >
< li > 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.< / li >
< li > Select 'create an account' in the top left hand corner, a box full
of fields requiring information should appear.< / li >
< li > 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.< / li >
< li > Press connect and the expo websites files should magically appear in
the right hand side of the screen.< / li >
< li > Upload your desired files to somewhere sensible using the green arrows
on the centre of the screen.< / li >
< / ol >
< h2 > Using scp< / h2 >
2015-09-29 12:39:48 +01:00
< p > Works on Windows (using winscp), Linux (using scp), and no doubt
mac and android with other tools.< / p >
2014-09-20 07:45:36 +01:00
< p > The above FireFTP is just one example of a tool that does this job< / p >
< pre >
2015-09-29 12:39:48 +01:00
directory: /home/expo/expoimages/photos/2015/YourName
2014-09-20 07:45:36 +01:00
server: expo.survex.com
user: expo
with the usual expo password
protocol: sftp or scp
< / pre >
2015-09-29 12:39:48 +01:00
< p > Obviously replace 'YourName' with your actual name (no spaces!)< / p >
2014-09-20 07:45:36 +01:00
< p > If you don't have winscp installed you can get it from here:
http://winscp.net/eng/index.php< / p >
< p > quick start guide:
http://winscp.net/eng/docs/getting_started< / p >
< p > screenshots:
http://winscp.net/eng/docs/screenshots< / p >
< h2 > Using Webdav< / h2 >
2015-09-29 12:39:48 +01:00
< p > 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.< / p >
2014-09-20 07:45:36 +01:00
< p > This is the upload dir: < tt > < a href = "/expoimages/uploads/" > http://expo.survex.com/expoimages/uploads/< / a > < / tt >
< p > 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.< / p >
2015-09-29 12:39:48 +01:00
< p > Make a directory like photos/2015/YourName so we know what's
2014-09-20 07:45:36 +01:00
been uploaded.
< p > 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/< / p >
< p > They both give you an 'explorer-like' interface (although winscp can
give you a norton-commander-style 2-pane UI as well).< / p >
< / body >
< / html >