=== Bit File Manager – 100% Free & Open Source File Manager and Code Editor for WordPress ===

Contributors: bitpressadmin, aihimel
Tags: File Manager, Code Editor, Snippet, Code Snippet, Editor
Requires at least: 5.0
Tested up to: 6.7.2
Requires PHP: 7.4
Stable tag: 6.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

File manager simplifies file tasks: edit, create, upload, delete, copy, move, rename, compress, extract. No more FTP worries; it's easy to use.

== Description ==

Best File manager and Code editor plugin for WordPress. You can edit, upload, delete, copy, move, rename, archive and extract files with the file manager plugin. You don’t need to worry about FTP anymore. It is really simple and easy to use.

= Advance Plugin Of Your WordPress system =

📢 **Join our new community [File Manager](https://www.facebook.com/groups/bitapps) & get updates of our new plugin.**

📢 **We are open for freelance work/custom development for this plugin. [Connect](https://bitapps.pro/contact) with us for further information.**

Just install the plugin by following the standard WordPress plugin install process. All the file management is in one place.

- **Frontend:** Enable Bit File Manager plugin for frontend users.
- **Shortcode Support:** Shortcode support for Bit File Manager to post it anywhere on your website.
- **Personal User Folder:** Every user has a personal/private folder.
- **Public User Folder:** All the users can share a common folder.
- **User Role Folder:** Users with the same role can have a common shared folder.
- **User Role Permission:** Set permission for user roles.
- **User Permission:** Set permission for specific users.
- **File Type:** Control what files can be uploaded and what files can be downloaded.
- **File Size:** Control the maximum file size that can be uploaded.
- **Maximum Operations:** Support 13+ types of file operation control.
- **Operation Control:** Control 13+ operations for specific user and user roles.


== Some Advantages Key of Bit File Manager ==

Shortcode Support : Shortcode support for Bit File Manager to post it anywhere on your website.

User Role permission: Admin can set permission for user role. Which user can read, write, edit, delete, upload, download, archive, and extract, etc any kind of file and folder.

Personal User Folder: Every user has some personal/private folder. Only that user can access that folder. This folder is not shared with any other user and keep all the files private.

Public User Folder: All the users can share a common folder. All the users can access this folder. This folder is shared with all the users.

Operation Control: Admin can control 13+ operations for specific user and user roles. Admin can control what user can do with files and folders.

= Key Features =

⭐ Operations (Edit, Upload, Download and Delete)
⭐ Code Editor to edit php, js, css and any type of text files
⭐ File manager plugin comes with light and elegant client UI
⭐ File manager support drag & drop file upload
⭐ List and Icons view available in File Manager Plugin
⭐ Alternative to FTP and cPanel
⭐ Supported Archives (zip, rar, 7z, tar, gzip, bzip2)
⭐ Image and File Edit Support
⭐ Quicklook, preview for common file types
⭐ Calculate directory sizes
⭐ Video and audio preview/play
⭐ File manager supports file search and sort
⭐ Automatic media sync
⭐ Trash folder
⭐ High-performance server backend
⭐ Uses a local file system therefore no need for a database.
⭐ Keyboard shortcuts available
⭐ Multiple file/folder selection
⭐ Move/Copy files with Drag & Drop
⭐ Rich context menu and toolbar
⭐ Thumbnails for image files
⭐ Auto resizes on file upload.
⭐ UTF-8 Normalizer of file-name and file-path etc.
⭐ Sanitizer of a file name and file path etc.
⭐ Folder upload
⭐ Chunked file upload
⭐ Upload directly to the folder
⭐ Create the archive by specifying the file name
⭐ File browsing history
⭐ Responsive(Works on tablet and phone)

Elaborate key features of Bit File Manager:

🚀 Operations (Edit, Upload, Download and Delete) ++

Admin can do all kinds of operations with files and folders. like (copy, move, upload, create folder/file, rename, archive, extract, edit, etc.)
Download, upload, cut, copy, duplicate, paste, delete, create a directory, create a file, edit file, rename, archive, extract.
Use-cases: Admin can manage Contact Form, LMS, WooCommerce, and other plugin files easily.

🚀 User-Friendly UI ++
The File Manager plugin comes with a light and elegant client UI. It is very easy to use and understand. Admin can easily manage files and folders. Everything is in one place and even a beginner can use it without reading documentation.

🚀 Drag & Drop ++
File manager plugin supports drag & drop file upload. Admin can upload files and folders by dragging and dropping from the local computer to the remote server. It increases the user experience.
Use-cases: Admin wants to pause Contact Form submit action hook, then admin can edit the file and comment out the hook.

🚀 List and Icons view ++
File manager plugin supports both list view and icons view to list files and folders, So the admin can choose the view type according to his/her preference.

🚀 Alternative to FTP and cPanel ++
File manager plugin is the best alternative to FTP and cPanel. Admin can edit, update, delete files and folders.

🚀 Supported Archives (zip, rar, 7z, tar, gzip, bzip2) ++
File manager plugin supports all the popular archive formats. Admin can create, extract, archive files and folders.
Use-case: Admin can create a zip file of any Contact Form plugin, then download it and send it to the developer for debugging.

🚀 Image and File Edit Support ++
This Advance File Manager plugin supports image and file edit. Admin can edit images and files with the file manager plugin.

🚀 Quicklook, preview for common file types ++
File manager plugin supports quick look and preview for common file types. Admin can preview files and folders before downloading.
Use-case: After editing any WooCommerce, Contact Form , Tutor Lms file admin can see a quick look of the file.

🚀 Calculate directory sizes ++
File manager plugin can calculate directory sizes. Admin can easily check the size of the directory.
Use-case: Admin can calculate Contact form , Page Builder, WooCommerce, LMS plugin directory size.

🚀 Video and audio preview/play ++
File manager plugin supports video and audio preview/play. Admin can preview/play video and audio files before downloading.

🚀 File manager supports file search and sort ++
File manager plugin supports file search and sort. Admin can easily search and sort files and folders and take action.
Use-case: Admin can search Contact Form, WooCommerce, LMS plugin files and folders.

🚀 Automatic media sync ++
File manager plugin supports automatic media sync. Admin can sync media files automatically.

🚀 Trash folder ++
File manager plugin supports trash folder. Admin can restore files and folders from the trash folder.
Use-case: Admin can restore Contact Form, WooCommerce, LMS plugin files and folders from the trash folder.

🚀 High-performance server backend ++
File manager plugin has a high-performance server backend. Admin can manage files and folders.

🚀 Uses a local file system therefore no need for a database. ++
File manager plugin uses a local file system therefore no need for a database. Admin can manage files and folders without any hassle.

🚀 Keyboard shortcuts available ++
File manager plugin supports keyboard shortcuts. Admin can easily navigate files and folders.

🚀 Multiple file/folder selection ++
File manager plugin supports multiple file/folder selections. Admin can manage multiple files and folders at a time.
Use-case: Admin can select multiple Contact Form, WooCommerce, LMS plugin files and folders and take action.

🚀 Move/Copy files with Drag & Drop ++
File manager plugin supports move/copy files with drag & drop. Admin can move/copy files and folders with drag & drop.
Use-case: Easily move/copy Contact Form, WooCommerce, LMS plugin files and folders with drag & drop.

🚀 Rich context menu and toolbar ++
File manager plugin supports a rich context menu and toolbar. Admin can manage files and folders without any hassle.

🚀 Thumbnails for image files ++
File manager plugin supports thumbnails for image files. Admin can manage image files without any hassle.

🚀 Auto resizes on file upload. ++
File manager plugin supports auto resizes on file upload.

🚀 UTF-8 Normalizer of file-name and file-path etc. ++
File manager plugin supports UTF-8 Normalizer of file-name and file-path etc. Admin can manage files and folders without any hassle.

🚀 Sanitizer of file name and file path etc. ++
File manager plugin supports sanitizer of file-name and file-path etc. Admin can manage files and folders without any hassle.

🚀 Folder upload ++
File manager plugin supports folder upload. Admin can upload folders.
Use-case: Admin can upload Contact Form, WooCommerce, LMS plugin folders.

🚀 Chunked file upload ++
File manager plugin supports chunked file upload. Admin can upload files.

🚀 Upload directly to the folder ++
File manager plugin supports uploading directly to the folder. Admin can upload files and folders.

🚀 Creating the archive by specifying the file name ++
File manager plugin supports creating the archive by specifying the file name. Admin can create archives.
Use-case: Admin can create archives of Contact Form, WooCommerce, LMS plugin files and folders.

🚀 File browsing history ++
File manager plugin supports file browsing history. Admin can manage files and folders.
Use-case: Admin easily see which plugin files and folders he/she visited.

🚀 Responsive(Works on tablet and phone) ++
File manager plugin supports responsive design. Admin can manage files and folders from a Desktop, Tablet, and Phone or any other device.

**[Github](https://github.com/Bit-Apps-Pro/file-manager/)**

== What our customer say about Bit File Manager : ==

`Great! Excellent work.`
`Works very good! Handy tool`
`This plugin is just fantastic.`
`Great and efficient`
`Worked like a charm!!!!`
`Does a great job!`
`What a great plugin!!!!`
`AWESOME PLUGIN. I use it ALL the time.`
`Saves using ftp most of the time – Great!`
`Does what is says, thats good :)`
`A life saver if ftp access is lost`
`Reliable and easy to use`
`I’m using this plugin for many websites and i loved it.`
`The BEST if you haven´t got FTP access`
`Great plugin – it just works perfectly`

== Compatibility ==

We try to make our plugin compatible with as many plugin/theme as possible. If you find any compatibility issue with any 3rd party plugin/theme, kindly report it to us via our plugin support forum or on our website.

sparkles Overview of other products we are offering :

🎉 [**Bit Form**](https://wordpress.org/plugins/bit-form/): Bit Form is an amazing drag & drop form builder that allows you to create custom forms to interact with your visitors. It gives you the freedom to create any form you want, no coding required.

🎉 [**Bit Integrations**](https://wordpress.org/plugins/bit-integrations/): Automate 165+ platforms and Contact form 7, Elementor Form, WooCommerce, Google Sheet, WPForms, Forminator, BuddyBoss, LearnDash, Hubspot, Mail poet, MailChimp, Webhook, ACF, Zapier, Fluent, Forms, CRM, LMS, Membership & many more.

🎉 [**Bit SMTP**](https://wordpress.org/plugins/bit-smtp/): The ultimate goal of Bit SMTP plugin to make your email deliverability more easy as well as secure.

🎉 [**Bit Assist**](https://wordpress.org/plugins/bit-assist/): Connect your all support assistant in a single button. Floating Chat Widget, Contact Chat Icons, Telegram Chat, Line Messenger, WeChat, WhatsApp, Email, SMS, Call Button & more.

🎉 [**Bit Social**](https://wordpress.org/plugins/bit-social/): Connect your all support assistant in a single button. Floating Chat Widget, Contact Chat Icons, Telegram Chat, Line Messenger, WeChat, WhatsApp, Email, SMS, Call Button & more.

🎉 [**Bit Flows**](https://bit-flows.com/): Advanced workflow automation alternative to Zapier in WordPress.

loudspeaker **Join our community [Bit Apps](https://www.facebook.com/groups/bitapps) & get updates of our plugins.**

== Supported Languages(36) ==

- Arabic
- Bulgarian
- Catalan
- Czech
- Danish
- German
- Greek
- English
- Español
- Persian/Farsi
- Faroese
- Française/French
- Canadienne française/French Canadian
- Hebrew/hébreu
- Croatian
- Hungarian
- Indonesian
- Italiano/Italian
- Japanese
- Korean
- Dutch
- Norwegian
- Polskie/Polish
- Português/Porguese
- Română/Romanian/Moldavian/Moldovan
- Russian
- Sinhala
- Slovak
- Slovenian
- Serbian
- Swedish
- Türkçe/Turkish
- Uyghur
- Ukrainian
- Vietnamese
- Chinese

= Telemetry Data =

Bit Social uses [wp-telemetry](https://packagist.org/packages/bitapps/wp-telemetry) to collect some telemetry data upon user’s confirmation. This helps us to troubleshoot problems faster & make product improvements.

Wp-Telemetry **DOES NOT IMMEDIATELY** start gathering data, rather it will gather basic telemetry data when a user allows it. We collect the data to ensure great user experience for all our users.

== Installation ==

= Requirements =

- Works on all modern browser
- php version:
    Minimum: 7.4
    Tested up to: 8.3
- "DISALLOW_FILE_EDIT" must be false to edit files from Bit File Manager.

= Installation process =

- Upload and install the plugin.
- Go to admin dashboard
- Click on Bit File Manager side menu

**Congratulations** you have done it!

== Frequently Asked Questions ==

= Invalid backend configuration. Readable volumes not available. =

Please check your file permission from your hosting panel. The permission must be 0755 for file/folder, this means the path you have set must be readable by php process. If you are using a vps(virtual private server) then you must ensure that the owner of your installation is PHP aka www-data. Another reason could be wrong root folder path/url. Inserting a correct root folder path/URL should fix the issue.

= I can not upload larger files then 2 MB =

You can upload any size of file. Bit file manager plugin uploads files in chunks. So a very large file can be easily uploaded & downloaded.

= Can I preview .psd and document files? =

Yes, documents like PSD, DOCX can be previewed via file manager preview.

= Can I change file permission like cPanel? =

Yes, file/folder permission can be changed like cPanel and other hosting management interfaces. It is very easy. Just right click on the file and you will see a menu named **Change Mode **. Clicking will open a dialogue box, where you can update the file permission, just like cPanel.

= Is it possible to edit file using code editor =

Yes, It is possible to edit writeable files in the wordpress directory using code editor. This plugin includes multiple code editing like "Ace Editor", "CodeMirror" and Text Editor.

== Screenshots ==

1. Overall View
2. Tool Bar
3. Advanced Search
4. File Size Indicator
5. Image Edit
6. Edit Image
7. Preview file
8. Edit file
9. Right Click Menu
10. Library File manager settings page
11. Server details
12. Emailing File
13. Changing file permission

== Upgrade Notice ==

== Changelog ==

= 6.7 =
- Fix: Prevent file upload which includes js code but not allowed in permission settings
- Fix: Loader issue in the frontend

= 6.6.3 =
- bit flows promotional modal added

= 6.6.2 =
- telemetry banner updated

= 6.6.1 =
-Tested with WordPress Version 6.7.1

= 6.6.0 (27 Oct, 2024) =
- Enhancement: The user permission grant UI has been updated, allowing users to search and grant permissions more efficiently. This resolves out-of-memory issues on the permission page.
- Enhancement: Previously, dashboard requests were handled via AJAX, but they are now managed through the REST API.
- Enhancement: Theme updated.
- Enhancement: Dashboard.
- Enhancement: PHP packages updated.
- Misc: Users can now try certain plugins through the changelog modal.
- Fix: Search functionality in the shortcode view.
- Fix: Editor full screen issue in rtl view.
- Fix: Public folder not displaying as per the user-selected option.

= 6.5.8 (02 Oct, 2024) =
- Fix: javascript, css file type Restricted for shortrcode. Admin can allow from permission settings if needed.
- Enhancement: Telemetry Modal updated

= 6.5.7 (24 Sep, 2024) =
- php packages updated
- Telemetry Notice banner replaced with Modal
- Tested with WordPress Version 6.6

= 6.5.6 (21 Aug, 2024) =
- Fix: Addressed a potential RCE vulnerability related to a race condition during PHP syntax checks.
- Restricted file types in shortcodes. Users must grant permission to allow PHP files.

= 6.5.3 (9 Jun, 2024) =
- Fix: pdf preview due to wrong file path

= 6.5.2 (9 Jun, 2024) =
- Fix: sort button in frontend
- Fix: full screen button in frontend
- Fix: view change button in frontend
- Misc: Added wp-telemetry package to collect some insights from users

= 6.5 (16 March, 2024) =
- UI updated.
- Some minor issue fixed.
- Multiple drive/folder by user/role.
- elFinder updated.

= 6.4 (24 Dec, 2023) =
- elFinder updated.
- Removed sidebar.

= 6.3 (7 Nov, 2023) =
- Fix: Admin+ Arbitrary OS File/Folder Access + Path Traversal.
- Fix: Non stop folder sync requests due to conflict with browser extension
- Compatibility: Tested compatibility with WordPress 6.4

= 6.2 (25 May, 2023) =

- Fix: Allowed Mime type.
- Fix: Maximum allowed file size.

= 6.1 (25 May, 2023) =

- Fix: File upload issue for non administrator if they have permission for upload.

= 6.0 (14 May, 2023) =

- Feat: Shortcode support
- Feat: Separate folder for specific user
- Feat: Separate folder by user role
- Feat: Folder access for Guest
- Feat: Maximum file upload size
- Feat: Access logs
- refactor: Refactored backend code base.
- Fix: Parts file editor hidden on full screen.
- Fix: PHP object serialization/deserialization on user inputted data.
  Also fixes some minor issues and optimized code.

= 5.2.7 (29 August, 2022) =

- Plugin ownership changed from Aftabul Islam to Bit Apps

= 5.2.6 (19 April, 2022) =

- File permission change added
- Logo updated
- FAQ updated
- New screenshot added
- Minor bug fixes

= 5.2.5 (14 April, 2022) =

- File preview design issue fixed.
- Code editor design issue fixed.
- Full screen design issue fixed.
- Trash folder feature added.
- Plugin debug is synchronized with WP_DEBUG
- Settings configuration issue fixed
- Code mirror issue fixed
- Code quality improvement
- Other minor bug fixes

= 5.2.4 (10 April, 2022) =

- Tested compatibility for WordPress 5.9.3
- Unicode character support for file/folder
- Media folder sync, you can upload to media folder, and it will be available on media library
- File Preview issue fixed [.docx, .psd etc]
- Code editor issue fixed
- Syntax checking for PHP file [You can't save file with syntax error]
- .htaccess file operation added [Now you can edit/upload/delete .htaccess files]
- Hidden file/folder operation added [Now you can edit/upload/delete any hidden file/folder]
- Root folder name settings added
- System information moved to a different page
- Emailing a file on right click menu added.

= 5.2.3 (28 March, 2022) =

- Tested compatibility for WordPress 5.9.2
- Updated to elFinder 2.1.61
- Security issue fixed
- Minor issue fixed.

= 5.2.2 (08 November 2021) =

- Tested compatibility for WordPress 5.8.2
- Name & Branding changed

= 5.2.1 (08 November 2021) =

- Tested compatibility for WordPress 5.8.1
- Some minor fixes

= 5.1.9 (28 October 2019) =

- Updated to elFinder 2.1.50
- Security fix

= 5.1.8 (20 October 2019) =

- Minor but fixed

= 5.1.7 (17 July 2019) =

- Uploaded file to appropriate directory will automatically synchronized to media library. (since 5.1.7)

= 5.1.6 (07 July 2019) =

- Bit File Manager security issue fixed

= 5.1.5 (16 May 2019) =

- elFinder updated to 2.1.49 (security update) (since 5.1.5)

= 5.1.4 (15 March 2019) =

- Translation Ready
- MIME file Support extended

= 5.1.3 (27 February 2019) =

- elFinder updated to v2.1.48

= 5.1.2 (23 February 2019) =

- Share file via email.
- Root folder path & url added.(You can decide from where your Bit File Manager should start).
- Syntax checker added. (You don't have to worry about breaking your website while editing any more.)
- PDF preview added
- PSD preview added

= 5.1.1 (22 February 2019) =

- Minor Bug fixed.
- Code & Image editor added.
- WYSIWYG Editor added.
- Chunked file upload added. Upload large file regardless your php.ini settings.

= 5.1.0 (21 February 2019) =

- Updated to elFinder 2.1.46
- Code Editor added for easy editing [Ace, Code mirror, TinyMCE & others].
- Supported file format extended.
- Minor issue fixed
- Unlimited file size upload added(regardless your php.ini settings)

= 5.0.4 (24 October 2018) =

- Support for PHP < 5.3 added

= 5.0.3 (10 October 2018) =

- Minor bug fixed

= 5.0.2 (16 February 2018) =

- Security issue fixed
- Version migration added
- Activity log

= 5.0.0 (12 September 2017) =

- DISALLOW_FILE_EDIT reporting added [disallow_file_edit has to be false](https://wordpress.org/support/topic/disallow_file_edit-has-to-be-false/)
- PHP 7 double underscore(\_\_) warning fixed [PHP issues](https://wordpress.org/support/topic/php-issues-11/)
- Undefined index warning fixed [Notice: Undefined index in debug mode](https://wordpress.org/support/topic/notice-undefined-index-in-debug-mode/)
- Control Hide width of Bit File Manager window.

= 4.1.6 (10 Jun, 2017) =

- Empty Downloaded file fixed
- Non-ASCII character support for file/folder name
- Tested on WordPress 4.8

= 4.1.4 (2 March 2017) =

- Language option added
- Design issue fixed

= 4.1.3 (19 February 2017) =

- Lower version of PHP error fixed

= 4.1.2 (5 January 2017) =

- Extra slash issue solved

= 4.1.1 (14 December 2016) =

- Minor UI changes

= 4.1.0 =

- UI changed
- Server configuration panel added
- fm_options hook added

= 4.0.4 =

- OS independent file path structure
- Logging system added

= 3.0.0 =

- Bug fixed and Interface updated.

= 2.2.4 =

- Data is not valid problem fixed.

= 2.2.3 =

- Chromium design issue fixed.

= 2.2.2 =

- Extra character output fixed.

= 2.2.1 =

- Page speed optimized
- Security Updated

= 2.2.0 =

- Extra slash problem on file edit has been checked.
- Security update.

= 2.0.1 =

- Activation error fixed with PHP 5.2

= 2.0 =

- Internal structure updated.

= 1.0 =

- Initial release of the plugin.
