(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&...) |
m (moved CKFinder/Server Side Integration/The Commands/DeleteFile to CKFinder 1.x/Server Side Integration/The Commands/DeleteFile) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{CKFinder_SSI_Warning}} | ||
== DeleteFile == | == DeleteFile == | ||
Latest revision as of 07:46, 28 May 2010
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¤tFolder=%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.