Secure Upload – Overwrite & Auto-Create Folder
Notes:
- You must provide the correct password to upload.
- The target directory will be created automatically if it does not exist.
- If a file with the same name already exists, it will be overwritten.
- Paths are sanitised – directory traversal (../) is removed for security.