examples/marine-examples/url-downloader/README.md

19 lines
523 B
Markdown
Raw Normal View History

# Download file to disk
2021-06-30 00:27:09 +00:00
Example that shows how to work with disk access and how to link several Wasm modules into a service.
# Build & deploy it
2021-06-30 00:27:09 +00:00
```shell
./deploy.sh
```
# Call it
2021-06-30 00:27:09 +00:00
```shell
aqua run \
--addr /dns4/kras-06.fluence.dev/tcp/19001/wss/p2p/12D3KooWDUszU2NeWyUVjCXhGEt1MoZrhvdmaQQwtZUriuGN1jTr \
2022-03-23 18:29:44 +00:00
-i download_url.aqua \
-f'download("https://fluence.network/img/svg/logo_new.svg", "logo.svg", "12D3KooWDUszU2NeWyUVjCXhGEt1MoZrhvdmaQQwtZUriuGN1jTr", "e693d1c3-3fbc-4ccd-8eae-1ba9c767e2f5")'
```