mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-22 07:11:55 +00:00
109 lines
4.4 KiB
HTML
109 lines
4.4 KiB
HTML
<!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>
|
|
|
|
<p>The expo website has a big section under 'expofiles' that is not part of the repositories. This section describes how to move files into that area. It supports 2 basic methods of upload:
|
|
<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>
|
|
<p>In both cases you need to know the expo password.</p>
|
|
|
|
<p>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.</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
|
|
midnight UTC, but may be broken. Prod a web admin if nothing is
|
|
updated by the next morning..</p>
|
|
|
|
<h2>Installing FireFTP</h2>
|
|
|
|
<p>Works on Windows, Mac, Linux, Android. This is a firefox browser plugin that enables FTP/SFTP uploads using just your browser.</p>
|
|
|
|
<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>
|
|
|
|
<p>Works on Windows (using winscp), Linux (using scp), and no doubt
|
|
mac and android with other tools.</p>
|
|
|
|
<p>The above FireFTP is just one example of a tool that does this job</p>
|
|
|
|
<pre>
|
|
directory: /home/expo/expofiles/photos/2015/YourName
|
|
server: expo.survex.com
|
|
user: expo
|
|
with the usual expo password
|
|
protocol: sftp or scp
|
|
</pre>
|
|
|
|
<p>Obviously replace 'YourName' with your actual name (no spaces!)</p>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<p> This is the upload dir: <tt><a href="/expofiles/uploads/">http://expo.survex.com/expofiles/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>
|
|
|
|
<p>Make a directory like photos/2015/YourName so we know what's
|
|
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>
|