JupyterHubUploadDownload: Difference between revisions

From CSDMS
(Outline content in page)
 
m (Make headings)
Line 1: Line 1:
{{PageTitle|OpenEarthscape JupyterHub: Uploading and Downloading Files}}
{{PageTitle|OpenEarthscape JupyterHub: Uploading and Downloading Files}}
Uploading and downloading individual files from a JupyterHub is straightforward.
The process for multiple files is trickier, though.
We'll go over both cases here.
= Download a file =
Download a file.
Show picture.
= Upload a file =


Upload a file.
Upload a file.
Show picture.
Show picture.


Download a file.
= A problem and a solution =
Show picture.


Problem: These menu buttons don't work for a directory of files.
Problem: These menu buttons don't work for a directory of files.
Solution: Create a zip file. (Or a tarball, but zip works across platforms.)
Solution: Group files in a directory and create a zip file. (Or a tarball, but zip works across platforms.)
 
= Download a directory =


First, an example of downloading a directory.
First, an example of downloading a directory.
Line 19: Line 31:
On you local machine you can either double click on the zip file in your file manager to uncompress it,
On you local machine you can either double click on the zip file in your file manager to uncompress it,
or you can use unzip in a terminal.
or you can use unzip in a terminal.
= Upload a directory =


Second, an example of uploading a directory.
Second, an example of uploading a directory.

Revision as of 12:39, 26 April 2022

OpenEarthscape JupyterHub: Uploading and Downloading Files

Uploading and downloading individual files from a JupyterHub is straightforward. The process for multiple files is trickier, though. We'll go over both cases here.

Download a file

Download a file. Show picture.

Upload a file

Upload a file. Show picture.

A problem and a solution

Problem: These menu buttons don't work for a directory of files. Solution: Group files in a directory and create a zip file. (Or a tarball, but zip works across platforms.)

Download a directory

First, an example of downloading a directory.

Open a terminal. Locate the directory you want to download. Zip it up. Use the download instructions above.

On you local machine you can either double click on the zip file in your file manager to uncompress it, or you can use unzip in a terminal.

Upload a directory

Second, an example of uploading a directory.

On your local machine, find the directory of files you'd like to upload. Zip the directory, either with the file manager or the zip command on a terminal. Use the upload instructions above. On the JupyterHub, open a terminal. Unzip the file.

Fin.