Upload a file via WebDAV
This will upload a file to a LabKey Server using WebDAV.
labkey.webdav.put( localFile, baseUrl=NULL, folderPath, remoteFilePath, fileSet='@files' )
localFile |
the local filepath to upload |
baseUrl |
a string specifying the |
folderPath |
a string specifying the |
remoteFilePath |
the destination path of this file on the remote server, relative to the folder root. |
fileSet |
(optional) the name of file server fileSet, which is typically "@files" (the default value for this argument). In some cases this might be "@pipeline" or "@fileset". |
Upload a single file from the local machine to a LabKey Server using WebDAV.
TRUE if the file was uploaded successfully
Ben Bimber, Ph.D.
## upload a single file to a LabKey Server library(Rlabkey) labkey.webdav.put( localFile="myFileToUpload.txt", baseUrl="http://labkey/", folderPath="home", remoteFilePath="myFileToUpload.txt" )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.