Links
Comment on page

Delete a File / Folder

Quick Tip: To delete a specific file/folder, click the advanced options icon to the far right of file name and then click Delete.
To delete a file or folder:
  1. 1.
    Log in to your account using your Username and Password.
  2. 2.
    Navigate to and select the file you want to delete.
  3. 3.
    Click Delete in the top menu.
  4. 4.
    Click Delete again to confirm.

Troubleshooting File and Folder Deletions

If you are unable to delete a folder or file, you can try the following steps:
  1. 1.
    Sometimes one stubborn file can prevent a folder from being deleted because it is "not empty". In this case the solution is to:
    1. 1.
      Go into the folder by clicking the folder name.
    2. 2.
      Click Select All.
    3. 3.
      Click Delete.
    4. 4.
      Repeat for any subfolders that remain.
    5. 5.
      Go back up to the parent folder and try deleting it again.
  2. 2.
    If you are not the original creator/uploader you may not have permissions to delete this file or folder.
    1. 1.
      The server will return an HTTP Error 403 Forbidden in this case. However you may not see this error unless you have the web browser's developer tools open to the network tab when making the request
    2. 2.
      You can check the small print next to the file name for the username of the file owner/uploader
    3. 3.
      Log in with this account to delete it if you have access, or...
      1. 1.
        If you know this user, you can request they delete it on your behalf.
      2. 2.
        Ask your site administrator to delete it.
  3. 3.
    If the folder name contains any special characters:
    1. 1.
      Try renaming the folder without those characters.
    2. 2.
      Then try to delete again.
  4. 4.
    In some rare cases, when a folder or file is deleted, its metadata persists in the database, and you will see a "ghost file".
    1. 1.
      You can tell it's a ghost file when you attempt to open it and are redirected to a Gitshare API Page showing Error 404 "Path not found".
    2. 2.
      In this case the solution is to create a folder and/or upload a file with the exact same name (case sensitive).
    3. 3.
      Then try to delete it again. That should remove the metadata from the database.
  5. 5.
    If none of the above has worked, submit a support request including the following details:
    • The full path to the folder or file
    • The username you are using to delete
    • Screenshot of any error message you receive
    • The date and time of the latest error, with the time zone
    • Any steps you have already taken
©2023 Orange Platform LLC dba SmartFile. All rights reserved.