Deletes the provided file/folder on a LabKey Server via WebDAV
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.
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")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.