Download the zipped folder with your file name and save it to the folder /var/mobile/Documents/public/file-management where you are running the script. Your zipped folder will now contain the file-management folder with the contents you want to deliver in RAR format to your users.
# Config file for file manager. This script will perform the following
# 1. The script will download a zipped folder using a $name variable
# that will be passed as the folder name.
# 2. The script will download the zipped folder to /var/mobile/Documents/public/
# 3. The script will move the zipped folder to /var/mobile/Documents/public/file-management/
# 4. The script will rename the files in the zipped folder to $name.
# 5. This script will send the renamed files to the mobile device using the
# SwiftMailer SMTP class.
# 6. If the SMS message fails, the script will return with a status of $status
# 1. Create a folder called $name inside /var/mobile/Documents/public
# 2. Set the permissions for $name as read-write for all users
# 3. Place the script inside /var/mobile/Documents/public/files-manager.sh
# 4. Run the script using the following command in Terminal.app
The script will rename the files from the original file name to your username. Just notice the $name variable in the script. You have to use the same $name variable for the other archive file download. And if you have more files, just add another variable for every additional variable you want to keep.
If the zipped folder is not created, it means that the script can't extract the folder. This means that the extraction of the archive is stopped when it reaches the zipped folder. To solve this, I would recommend you to try to edit the script at the following lines:
Travis CI makes use of the WPP site to provide the functionality to build your application. WPP is a site that hosts reusable build scripts, called WPPs, which simplify the process of building applications on a number of different platforms, including: 827ec27edc