DeleteFile"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(New page: == DeleteFile == Deletes a file. === Sample Request === In the root directory of the resource type “Files”, delete the file “Test.jpg”. <pre>connector.php?command=DeleteFile&amp...)
(No difference)

Revision as of 14:47, 16 January 2008

DeleteFile

Deletes a file.

Sample Request

In the root directory of the resource type “Files”, delete the file “Test.jpg”.

connector.php?command=DeleteFile&type=Files&currentFolder=%2F&FileName=Test.jpg

Sample Response

<?xml version="1.0" encoding="utf-8"?>
<Connector resourceType="Files">
 <Error number="0" />
 <CurrentFolder path="/" url="/userfiles/files/" acl="255" />
 <DeletedFile name="Test.jpg" />
</Connector>

Note that the file names may contain non ASC-II chars.