Add new 'uploading' page on how to install/use FireFTP/Winscp/Webdav. Reer to it in main computer handbook page.

This commit is contained in:
Wookey 2014-09-20 07:45:36 +01:00
parent 3430f06c72
commit e27791c1d7
2 changed files with 121 additions and 0 deletions

View File

@ -45,6 +45,7 @@
<li><a href="#cavepages">Updating cave pages</a></li> <li><a href="#cavepages">Updating cave pages</a></li>
<li><a href="#updatingyears">Updating expo year pages</a></li> <li><a href="#updatingyears">Updating expo year pages</a></li>
<li><a href="#logbooks">Adding typed logbooks</a></li> <li><a href="#logbooks">Adding typed logbooks</a></li>
<li><a href="#photos">Uploading photos</a><li>
<li><a href="#tickingoff">Ticking off QMs</a></li> <li><a href="#tickingoff">Ticking off QMs</a></li>
<li><a href="#surveystatus">Maintaining the survey status table</a></li> <li><a href="#surveystatus">Maintaining the survey status table</a></li>
<li><a href="#history">History</a></li> <li><a href="#history">History</a></li>
@ -224,6 +225,21 @@ T/U: Jess 1 hr, Emma 0.5 hr
</pre> </pre>
<hr> <hr>
<h3><a id="photos">Uploading photos</a></h3>
Photos are stored in the general file area of the site under <a href="http://expo.survex.com/expoimages/photos/">http://expo.survex.com/expoimages/photos/</a> They are organised by year, and by photographer. Please use directory names like 2014/JuliaDay (i.e no spaces, CamelCase for names).
They are viewed at <a href="http://expo.survex.com/photos/">http://expo.survex.com/photos/</a>
Photos can be uploaded in various ways:
<ul>
<li>Rsync or scp as user 'expo' to expo.survex.com, into the directory expoimages/photos/&lt;year&gt;/&lt;PhotographerName&gt;</li>
<li>Webdav upload to http://expo.su\
rvex.com/expoimages/uploads/&lt;year&gt;/&lt;PhotographerName&gt;</li>
</ul>
See <a href="uploading.html">Photo/File Upload Instructions</a> for using webdav/webfolders or winscp from your browser or with other tools, on various OSes.
<h3><a id="tickingoff">Ticking off QMs</a></h3> <h3><a id="tickingoff">Ticking off QMs</a></h3>
<p>To be written.</p> <p>To be written.</p>

105
handbook/uploading.html Normal file
View File

@ -0,0 +1,105 @@
<!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 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 the former case nothing else needs doing. In the second case an
admin has to move the files to the correct final location, so rememebr
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.</p>
<h2>Installing FireFTP</h2>
<p>Works on Windows, Mac, Linux, Android.</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/expoimages/photos/2013/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 under one special 'uploads'
directory. Ask someone tomove your uploaded files to the final
location.</p>
<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>
<p>Make a directory like photos/2013/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>