expoweb/handbook/uploading.html

76 lines
4.3 KiB
HTML
Raw Normal View History

<!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, GPS tracks and files</h1>
2018-06-23 01:37:10 +01:00
<h2>Simple instructions</h2>
<ol>
2018-06-23 01:37:10 +01:00
<li>Download and install <b>Filezilla</b>.
</ol>
2018-06-23 01:37:10 +01:00
<p>That's it. There used to be other ways of doing it using browser extensions but these either don't work anymore or the instructions to install them properly have become too complicated.
<p>You do need to know the expo password.</p>
2018-06-23 01:37:10 +01:00
<h3>Installing Filezilla</h3>
<p>This software works identically on both Windows and Linux.
<p>Filezilla is an "FTP client". This means that it connects to servers using a venerable service called "file transfer protocol" i.e. FTP. It looks a bit like copying files from one folder to another on your desktop but it works between different machines.
<ul>
<li> Download the software from here <a href="https://filezilla-project.org/download.php?show_all=1">Filezilla Downloads</a>. ( Obviously Linux users will use their usual package management system instead of doing this download.)
<li>Now install the software following <a href="https://wiki.filezilla-project.org/Client_Installation">the instructions here</a>.
<li>Now configure it to connect to the expo server using the instructions <a href="fzconfig.html">on this expo handbook page</a>
</ul>
2018-06-23 01:37:10 +01:00
<h2>Using Filezilla initially</h2>
<p>The expo website has a big section under 'home/expo/expofiles/' that is <b>not under version control</b>. This is dangerous as there is no backup. If you overwrite some important files with your holiday snaps then we are in big trouble. This is where we store big files that we don't want to keep multiple versions of.
2018-06-23 01:37:10 +01:00
<p>So beginners should always put all their files into the folder /home/expo/expofiles/uploads/ and ask an admin to move them to the right place. To make his or her life easier, create your own folder in /expofiles/uploads/ with your name like this: /home/expo/expofiles/uploads/ClarkKent/ and put your files into that folder.
2018-06-23 01:37:10 +01:00
<h2>Experienced users</h2>
<p>OK the person you have been asking to move the files is getting fed up and now wants you to put the uploaded photos in the right place yourself. This is where they go:
<pre>
2018-06-23 01:37:10 +01:00
directory: /home/expo/expofiles/photos/2018/YourName/
</pre>
Or for GPS tracks, do
<pre>
2018-06-23 01:37:10 +01:00
directory: /home/expo/expofiles/gpslogs/2018/YourName/
</pre>
2018-06-23 01:37:10 +01:00
<p>Obviously replace 'YourName' with your actual name (no spaces!). It is important that you get this right as this specific way of writing your name is standardised across the website. Use the year that the photo was taken or the GPStrack logged.</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> immediately. An update script needs to be run. This should run automatically once/day around midnight UTC (2017 and earlier) or a couple of minutes after you do the upload to the right place (2018 if Wookey gets this sorted out in time) but may be broken. Prod a web admin if nothing is updated by the next morning..</p>
<h2>Experts only</h2>
<p>If you have been using FTP since the last century or are particularly keen on doing everything using the command-line, read on.
<h3>Using scp</h3>
<p>Works on Windows (using winscp), Linux (using scp), and no doubt
mac and android with other tools. If you have Windows 10 and <a href="https://msdn.microsoft.com/en-gb/commandline/wsl/about">have installed bash</a>, then you can use scp.</p>
<p>If you don't have winscp installed you can get it from here:
2018-06-23 01:37:10 +01:00
<a href="http://winscp.net/eng/index.php">http://winscp.net/eng/</a>.</p>
<p>quick start guide:
http://winscp.net/eng/docs/getting_started</p>
<p>screenshots:
http://winscp.net/eng/docs/screenshots</p>
<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>
2018-06-23 01:37:10 +01:00
<hr />
</body>
</html>