When uploading custom Widget (.WGT) files, you might encounter issues due to how different operating systems handle file compression. Here's what you need to know and how to successfully upload your files:
macOS
If you're using macOS, the default compression utility can sometimes cause problems with mismatched header sizes, leading to failed uploads.
To avoid this, we recommend using 7-Zip to compress your files. You can download 7-Zip here.
Once you've compressed your files into a ZIP file using 7-Zip, simply rename the file extension from .zip to .wgt before uploading.
Linux
Like macOS, Linux's default compression utilities occasionally cause issues for some users. We would recommend that you use the Terminal to compress your ZIP folder. Follow these steps:
Open the Terminal application.
Install the ZIP function by entering one of the following commands:
For Ubuntu and Debian:
sudo apt install zip
For CentOS and Fedora:
sudo yum install zip
Navigate to the directory containing the files and folders you want to compress. You can do this by typing
cd/
followed by the path to your files (e.g.,cd /home/user/documents/myfiles
).Once in the correct directory, enter the following command, replacing the bracketed text with your actual file and folder names:
zip -r [NAME OF ZIP FILE].zip [Foldername1] [FileName2.xml]
For example:zip -r myarchive.zip MyProjectFolder document.xml
Press Enter to start the compression.
Once the compression is complete, go to the location where you saved your ZIP file, right-click on it, and rename the extension from .zip to .wgt.