How to prevent errors when saving files

Introduction

If you see the error An unknown error occurred during file save when saving files in the editor, your host may be blocking POST content that it deems suspicious, for example, when it contains the names of PHP functions.

This article demonstrates how to configure Monsta FTP (v2.2+) to encode your POST content using ROT13.

Steps

You can add a setting to your /mftp/settings/settings.json file using our interface wizard, which is described as encode editor content.

Please note that this is an extremely simple substitution cipher and is not intended for security; it is purely to circumvent web hosts that use simple string searching. For security, Monsta FTP should be used on an SSL web server.

It also adds slight overhead to your install's performance.