Upload Raw Data

2020-04-10



Upload raw data in a web-browser

Raw data associated with Skyline documents in a folder can be uploaded via the Raw Data tab in the top right corner.
(NOTE: If you don't see a Raw Data tab click here for instructions on how to add it)



Click the tab to see a Files browser. You can drag-and-drop files and/or folders located on your computer onto the Files browser as shown in the image below.



Another way to upload files is to click the Upload Files button in the Files browser, and click Browse to navigate to and select the file you want to upload.



Organizing data in folders

Raw data files can be organized in folders. Create a new folder by clicking the new folder button in the Files webpart.


Enter a name for the folder and click Submit.


Click the Show or Hide Folder Tree button to show the folder tree panel.


Click the newly created folder in the folder tree panel to select it. The right panel will update to show the contents of the selected folder. Drag-and-drop files in the right panel to upload them to the new folder.



More information on using the Files browser can be found here: Using the Files Repository


Upload raw data by mapping a network drive in Windows

On a Windows machine you can map your PanoramaWeb folder as a network drive and copy files to the folder using Windows Explorer. This uses WebDAV for file transfer, and Windows XP and later have a built-in WebDAV client.

NOTE: The instructions below will work on Windows 10 and Windows Server 2016. If you have an older operating system and are unable to map a network drive with these steps then you can use a third party WebDAV client such as Cyberduck. Look at this page for instructions on setting up Cyberduck and for a list of other WebDAV clients: Example Setup for Cyberduck WebDAV Client

To map a PanoramaWeb raw data folder as a Windows network drive follow these steps:

Get the WebDAV URL

  • In a web-browser navigate to the Panorama folder and click the Raw Data tab
  • Click the Upload Files button in the Files webpart (1. in the screenshot below)
  • Click the "Upload file" icon (2. in the screenshot below).
  • From the File Upload Help dialog copy the WebDav URL (3. in the screenshot below)

  • On your computer open Windows Explorer. Right-click This PC in the left pane and select Map network drive from the menu


  • In the Map network drive dialog enter the WebDav URL that you copied from your Panorama folder. Check Connect using different credentials and click Finish
  • You will be prompted for a username and password. Enter your PanoramaWeb email address and password and click OK
This should map the PanoramaWeb folder as a network drive on your computer, and you should be able to copy files to the folder just as you would to a another folder in Windows Explorer. Once you are done copying files you can disconnect the network drive by right-clicking the mapped drive and selecting Disconnect network drive from the menu.

Using Cyberduck (https://cyberduck.io/)

  • Click Open Connection.

  • In the Open Connection dialog select WebDAV (HTTPS) as the connection type.
  • Get the WebDAV URL as described above and enter it in the Server field. CyberDuck will automatically parse the URL and populate the Path field.
  • In the Username field enter your email address on PanoramaWeb.
  • Enter you password in the Password field.
  • Click Connect.




Upload raw data on the command line

If you are comfortable using the command line, you can use rclone to upload your raw files. Rclone is a command line utility to sync files to and from the cloud. Among the many cloud providers it can sync with, one is webdav. Webdav can be used to access files on PanoramaWeb.

You can download rclone from https://rclone.org/downloads/. If you are on Windows I recommend that you download the `AMD64 - 64bit` version.

The first step is find WebDav URL

  • In a web-browser navigate to the Panorama folder and click the Raw Data tab
  • Click the Upload Files button in the Files webpart (1. in the screenshot below)
  • Click the "Upload file" icon (2. in the screenshot below).
  • From the File Upload Help dialog copy the WebDav URL (3. in the screenshot below)



Setup a remote for your folder on Panoramaweb

Start the interactive configuration session

rclone.exe config edit
No remotes found - make a new one
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n

Create a name. I recommend using the name of the server or something that is easy for your to remember

name> PanoramaWebFiles

Next it will ask you to choose the type of storage location to configure. We will be using webdav

Type of storage to configure.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
1 / 1Fichier
"fichier"
2 / Alias for an existing remote
"alias"
3 / Amazon Drive
"amazon cloud drive"
...
33 / Webdav
"webdav"
34 / Yandex Disk
"yandex"
35 / http Connection
"http"
36 / premiumize.me
"premiumizeme"
Storage> 33
Now we will enter URL for the FileRoot of your PanoramaWeb folder
URL of http host to connect to
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
1 / Connect to example.com
"https://example.com"
url> https://panoramaweb.org/_webdav/ExampleProject/Folder/@files/

Now choose `other` when asked what type of service we are using

Name of the Webdav site/service/software you are using
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
1 / Nextcloud
"nextcloud"
2 / Owncloud
"owncloud"
3 / Sharepoint
"sharepoint"
4 / Other site/service or software
"other"
vendor> other

Enter the email address that you use for logging into the PanoramaWeb server

User name
Enter a string value. Press Enter for the default ("").
user> bconn@proteinms.net
Here you will be asked to enter your password.
Password.
y) Yes type in my own password
g) Generate random password
n) No leave this optional password blank (default)
y/g/n> y
y/g/n> y
Enter the password:
password:
Confirm the password:
password:
Choose the default option for the next two questions
Bearer token instead of user/pass (eg a Macaroon)
Enter a string value. Press Enter for the default ("").
bearer_token>
Edit advanced config? (y/n)
y) Yes
n) No (default)
y/n> n
We are almost done. Here you will just confirm the information that you entered and then quit.
Remote config
--------------------
"missing" href="/wiki/home/page.view?name=PanoramaWebFiles">PanoramaWebFiles
type = webdav
url = https://panoramaweb.org/_webdav/ExampleProject/Folder/@files/
vendor = other
user = bconn@proteinms.net
--------------------
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> yes
y/e/d> y
Current remotes:

Name Type
==== ====
PanoramaWebFiles webdav

e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q



Copying files

To copy a file to PanoramaWeb, you can use the command
rclone.exe --progress copy FILENAME PanoramaWebFiles:

If you would like to copy a directory to the PanoramaWeb, you can use the command

rclone.exe --progress copy DIRECTORY_TO_COPY PanoramaWebFiles:

If a copy fails to complete for whatever reason, you can simply run the command again and rclone will only copy up the files which failed. If you would like to see a list of the files which are copied, you can add the `-v` option to the command line.




Adding the Raw Data tab

The Raw Data tab is added by default when you create a new "Panorama" type folder. Some older folders may not have this tab. If you do not see the Raw Data in a "Panorama" type folder, and you are the administrator of the folder, you can add it as follows:
  • Click the gear icon in the top right corner
  • Select Add Raw Data Tab from the drop-down menu