<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>

<p>There are essentially two ways of using expo server: one is just FTP, second using version controll.
    <strong>If you can handle version controll use that!</strong> Find detailed instructions on <a href="repousage.html">repo usage</a> page.</p>

<h1>Using expo server via FTP connection</h1>

<h2>Configure connection on Windows</h2>
<ul>
    <li>Get <a href="https://winscp.net/eng/download.php">WinScp</a> application to handle uploads or similar:<br>
        <img src="./tutorialimgs/winscp.jpg" width="500"></li>
    <li>Click 'New site' in the popup window and fill in the data.<br>
        <b>hostname:</b><i>expo.survex.com</i><br>
        <b>user:</b><i>expo</i><br>
        <b>password:</b>[contact your expedition leader for password]<br>
        <img src="./tutorialimgs/newsite.jpg" width="500"></li>
    <li>Click 'Login' to connect. You should be able to upload files now.</li>
</ul>
<hr>

<h2>Configure connection on Android phone</h2>
<ul>
    <li>Get <a href="https://play.google.com/store/apps/details?id=com.cxinventor.file.explorer&hl=en">'Cx File Explorer'</a>:<br>
        <img src="./tutorialimgs/cx_file_explorer.png" height="500">
    </li>
    <li>Press 'Network':<br>
        <img src="./tutorialimgs/cx_network.png" height="500">
    </li>
    <li>Press 'plus' and 'remote':<br>
        <img src="./tutorialimgs/cx_add.png" height="500">
    </li>
    <li>Press 'SFTP':</li>
    <li>Fill in the data:<br>
        <b>Host:</b><i>expo.survex.com</i><br>
        <b>Port:</b><i>22</i><br>
        <b>Username:</b><i>expo</i><br>
        <b>Password:</b>[contact your expedition leader for password]<br>
        <img src="./tutorialimgs/cx_sftp.png" height="500">
    </li>
    <li>Navigate to the image you want to upload. Then long press to select and press 'copy'<br>
        <img src="./tutorialimgs/cx_copy.png" height="500">
    </li>
    <li>Navigate to expo.survex.com/home/expo/expofiles/uploads to avoid mess ;)<br>
            <img src="./tutorialimgs/cx_paste.png" height="500">
    </li>
    <li>Press 'Paste' to finalize upload.</li>
    <li>Done!</li>
</ul>
<hr>

<h2>Configure connection on Linux/Unix</h2>
<ul>
    <li>You can upload files using 'scp' command (to upload localfile.file to expofiles/uploads/remotename.file)<br>
        <pre>
            scp loacalfile.file expo@expo.survex.com:~/expofiles/uploads/remotename.file
        </pre>
    </li>
</ul>

</body>
</html>