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
Navigate to https://cyberduck.io/
Click Download Cyberduck for Windows or Download Cyberduck for Mac
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
Open Cyberduck on your local machine.
Navigate to the LabKey file repository that your file is located in.
Click on Upload Files (1) in the directory.
Click on the Information Icon (2) on the right-hand side of the repository.
Copy the WebDAV URL for the folder with the files you want to transfer.
Click on Open Connection within Cyberduck.
Paste the URL that you copied into the Server (3) field.
Enter your LabKey login credentials into the Username (4) and Password (5) fields.
Click Connect (6)- the file repository and its contents will be displayed.
Transfer Files using Cyberduck
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).
Repeat steps 1 through 9 above using the WebDAV URL for the destination repository.
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
From within Cyberduck, navigate to the files that underwent the transfer procedure (repeating steps 1-9 above as necessary).
Click the applicable files and then click Get Info.
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