A task that downloads accessable files in assets/* from a target server
Usefull when you want to update assets onto a development
environment, without having to do a full file snapshot. It's usefull for large websites.
---
Name: RemoteAssetTask
---
OP\RemoteAssetReadFilesController:
target: https://website.where.filescomefrom
user: [email protected]
password: mysecretpassword
ignore:
- assets/studenthub/
- assets/staffhub/
The user must exist in SilverStripe, and have access to assets. you can restrict the user
to specific files and folders in the SilverStripe CMS.
Open up /dev/tasks/OP-RemoteAssetTask in your browser on the local machine.
You can also run it from the command line with
vendor/silverstripe/framework/sake dev/tasks/OP-RemoteAssetTask
GraphQL
When you load the task via HTTP on the local machine, an ajax poll will ask your
local machine to send a graphql request to the target server. This will return a
list of files in assets. This result will then be passed back to your local machine,
which will then bulk download these files from the target server.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem