| labkey.webdav.delete {Rlabkey} | R Documentation |
This will delete the supplied file or folder under the specified LabKey Server project using WebDAV.
labkey.webdav.delete(
baseUrl=NULL,
folderPath,
remoteFilePath,
fileSet='@files'
)
baseUrl |
a string specifying the |
folderPath |
a string specifying the |
remoteFilePath |
the path to delete, 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". |
This will delete the supplied file or folder under the specified LabKey Server project using WebDAV. Note: if a folder is provided, it will delete that folder and contents.
TRUE if the folder was deleted successfully
Ben Bimber, Ph.D.
labkey.webdav.get,
labkey.webdav.put,
labkey.webdav.mkDir,
labkey.webdav.mkDirs,
labkey.webdav.listDir,
labkey.webdav.pathExists,
labkey.webdav.downloadFolder
library(Rlabkey) #delete an entire directory and contents labkey.webdav.delete(baseUrl="http://labkey/", folderPath="home", remoteFilePath="folder1") #delete single file labkey.webdav.delete(baseUrl="http://labkey/", folderPath="home", remoteFilePath="folder/file.txt")