How to Transfer Files in Labkey using WebDAV and Cyberduck

How to Transfer Files in Labkey using WebDAV and Cyberduck

An alternative to the LabKey Server interface for accessing files, WebDAV can be used to transfer files across repositories in LabKey.

Instructions

Download Cyberduck

  1. Navigate to https://cyberduck.io/

  2. Click Download Cyberduck for Windows or Download Cyberduck for Mac

  3. Click on the Cyberduck download to start the installation wizard.

Cyberduck is a libre server and cloud storage browser that supports WebDAV.

Connect Cyberduck to your LabKey File Folder

  1. Open Cyberduck on your local machine.

  2. Navigate to the LabKey file repository that your file is located in.

  3. Click on Upload Files (1) in the directory.

  4. Click on the Information Icon (2) on the right-hand side of the repository.

  5. Copy the WebDAV URL for the folder with the files you want to transfer.

  6. Click on Open Connection within Cyberduck.

  7. Paste the URL that you copied into the Server (3) field.

  8. Enter your LabKey login credentials into the Username (4) and Password (5) fields.

  9. Click Connect (6)- the file repository and its contents will be displayed.

Transfer Files using Cyberduck

  1. Open a second window of Cyberduck while the original window remains open by navigating to File > New Browser or pressing Ctrl + n (command + n for mac users).

  2. Repeat steps 1 through 9 above using the WebDAV URL for the destination repository.

  3. Drag and drop your file from the first window into the second window in order to copy the file to the desired repository.

Validate Transfer was successful

  1. From within Cyberduck, navigate to the files that underwent the transfer procedure (repeating steps 1-9 above as necessary).

  2. Click the applicable files and then click Get Info.

     

  3. Review the file details (including Size and Modified date) to confirm the transfer was successful and that the files were not altered / corrupted during the transfer.

     

There is a 2.0 GB limitation for copying / duplicating files in LabKey via WebDav. Please note that this limitation is specific to the size of individual files and is not applicable to folders within directories (i.e., a folder that is above 2.0 GB that is comprised of multiple files that are under 2.0 GB can be duplicated / copied successfully). If you are looking to duplicate / copy a file larger than 2.0 GB in LabKey and require support, please reach out to the Indoc Team by generating a support ticket below.

Additional Resources

LabKey Documentation: https://www.labkey.org/Documentation/wiki-page.view?name=webdav&_docid=wiki%3A48e65e8d-8677-102c-86c6-d104f9cdea0a

Related articles