=== Real FTP Upload V2 ===
Tags: ftp, file upload, sftp, ftps, drag and drop
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 2.7.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Upload customer files from WordPress and transfer them to a configured FTP or FTPS server with form customization and email notifications.

== Description ==

Real FTP Upload V2 provides a customer-facing drag-and-drop upload form for WordPress and transfers uploaded files to a configured remote FTP or FTPS server.

Features include:

* Drag-and-drop uploads.
* Automatic customer/company and date-based folder organization.
* Customizable form labels and optional fields.
* Configurable upload limits and permitted file types in the licensed Full Version.
* HTML confirmation emails for customers and website owners.
* Google reCAPTCHA v2 support.
* Separate frontend/customer and administrator language settings.
* Built-in translations for English, French (Canada), French (France), Chinese (Simplified), Hindi, Spanish, Arabic, Bengali and Portuguese.
* Custom frontend translation strings.
* FTP connection status and optional FTP permission diagnostics.
* Modal upload and transfer progress.
* Configurable branding and appearance.

The shortcode is:

`[real-ftp-upload]`

= Lite and Full modes =

Without a valid commercial license, this commercial package operates in Lite Mode and permits one PDF file per upload. A valid license unlocks the Full Version.

IMPORTANT: A separate permanently free Lite edition is intended for the WordPress.org Plugin Directory; the commercial Full Version is distributed separately.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install the ZIP through Plugins > Add New > Upload Plugin.
2. Activate Real FTP Upload V2.
3. Open Settings > Real FTP Upload V2.
4. Enter the FTP/FTPS server, username and password.
5. Configure the remote base folder if required.
6. Optionally configure Google reCAPTCHA v2.
7. Configure form labels, languages and email addresses.
8. Add `[real-ftp-upload]` to the page where the customer upload form should appear.

== External Services ==

Real FTP Upload can connect to external services only for functions configured by the administrator.

= Google reCAPTCHA =

If the administrator enters Google reCAPTCHA v2 keys, the public form loads Google's reCAPTCHA service and sends reCAPTCHA verification data to Google. Google reCAPTCHA is optional and is not loaded when no site key is configured.

Google Privacy Policy: https://policies.google.com/privacy
Google Terms of Service: https://policies.google.com/terms

= Commercial License Validation =

The commercial build can contact the Muskoka Graphics/WHMCS licensing service to validate a license key and determine whether Full Version functionality is available. The commercial license system is not intended for a WordPress.org-hosted edition.

== Frequently Asked Questions ==

= Where are uploaded files stored? =

Files are temporarily received by the WordPress server and then transferred to the configured FTP/FTPS location. Successfully transferred temporary local files are removed.

= Does the plugin bypass PHP upload limits? =

The Full Version includes automatic chunked large-file handling. When the configured Real FTP Upload size limit exceeds the effective PHP upload/POST limit and a selected upload would exceed the safe request size, the browser automatically divides the upload into smaller chunks. The server reassembles the file before transferring it to FTP/FTPS.

Chunked uploading still requires sufficient temporary disk space and hosting resources.

= Can I customize the form? =

Yes. Core customer, company and email fields remain required, while additional fields can be shown, hidden, renamed and configured as required or optional.

= Does changing Company Name affect remote folders? =

The visible Company Name label can be renamed, but the value entered in that field continues to be used for customer-folder organization on the remote server.

= What does Debug Mode do? =

Debug Mode provides licensing diagnostics and performs temporary FTP permission tests such as directory creation and file write/delete checks. Temporary diagnostic items are cleaned up whenever possible.

== Changelog ==

= 2.7.1 =
* Production release after successful beta testing.
* Added Lite/Full mode handling with three-day commercial license revalidation.
* Added modal upload and FTP transfer progress.
* Preserves entered form fields after successful uploads and provides a Clear Form Fields button.
* Added frontend/backend branding controls for licensed installations.
* Added multilingual frontend, administrator and email support.
* Added FTP connection indicator and optional permission diagnostics.
* Added compact frontend branding with a light tint based on the selected button colour.
* Added clearer grouped administration settings.
* Added automatic chunked large-file uploads when configured upload limits exceed PHP server request limits.

= 2.7.0 =
* Added customizable form builder, date picker, custom fields, dropdowns and translated customer/admin emails.
