FCKEditor File Browser Extensions Project, improves functionality of the standard file browser shipped with the FCKEditor, includes PHP and ASP connectors. Includes Thumbnail view, rename, delete of files and folders and soon to include Image Manipulation support
FCK Editor Logo File Browser Extension Project Logo
 
 
Well close enough
DeleteFolder Command
Deletes the requested folder and all sub folders and files.
 

Example Request:-
connector.ext?Command=DeleteFolder&Type=File&CurrentFolder=/Docs/&FolderName=Accounts
 
 
Parameters (Passed by HTTP GET / QueryString):-
 
  • Command
    (Generic parameter) Always used to specify the command the connector should execute.
     
  • Type
    (Generic parameter) Always used to specify the resource area the browser is
    currently set to. This affects the location that the command refers to, the
    location should be composed of a user definable folder (where all files
    are held, followed by the resource type, e.g. /UserFiles/Image
     
  • CurrentFolder
    (Generic parameter) Always used to specify the path currently displayed in the
    browser. This location is relative to the path composed from the user definable
    folder + the resource type. If CurrentFolder was /Planes and Type was Image
    the path to operate on would be /UserFiles/Image/Planes
     
  • FolderName
    The name of the folder to be deleted.
     
 
Connector Output (XML):-
 
Example output:-
<?xml version="1.0" encoding="utf-8" ?>
<Connector command="DeleteFolder" resourceType="File">
<CurrentFolder path="/Docs/" url="/UserFiles/File/Docs/" />
<Error number="0" />
</Connector>
  • Error number values
    • 0 : No Errors. Folder deleted successfully
    • 402 : Failed to delete folder