MEGA¶
Configuration¶
Notice
Since authentication tokens are cached in database, after switching MEGA account, you'll need to delete mega document in nazurin collection from the database.
STORAGE¶
Append Mega. For more information, see Configuration.
MEGA_USER¶
Required
Login email.
MEGA_PASS¶
Required
Login password.
Encoding Issue¶
Due to unknown reasons, there're encoding issues with special filenames (e.g.: special or full-width characters) on MEGA. These filenames may be wrongly displayed on MEGA Android & iOS clients, and cannot be synced through MEGASync. However, MEGA Web client can handle these files correctly, so to solve this problem, do the following:
- Create a temporary directory and set
STORAGE_DIRto it - Periodically log into MEGA Web client
- Copy all files from temporary directory to archive directory (Do not use move)
- Delete files in temporary directory
- Problem solved
Tip
Of course you can modify filename format to avoid this problem.