View source: R/labkey.webdav.R
labkey.webdav.mkDirs | R Documentation |
This will create folder(s) under the specified LabKey Server project using WebDAV.
labkey.webdav.mkDirs(
baseUrl=NULL,
folderPath,
remoteFilePath,
fileSet='@files'
)
baseUrl |
a string specifying the |
folderPath |
a string specifying the |
remoteFilePath |
the folder path to create, relative to the LabKey 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". |
Creates a folder on a LabKey Server using WebDAV. If the parent directory or directories no not exist, these will also be created (similar to mkdir -p on linux)
TRUE if the folder was created successfully
Ben Bimber, Ph.D.
labkey.webdav.get
,
labkey.webdav.put
,
labkey.webdav.mkDir
,
labkey.webdav.pathExists
,
labkey.webdav.listDir
,
labkey.webdav.delete
,
labkey.webdav.downloadFolder
## Not run:
library(Rlabkey)
labkey.webdav.mkDirs(
baseUrl="http://labkey/",
folderPath="home",
remoteFilePath="folder1/folder2/toCreate"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.