download url and save it to path
| Name | Type | Description | Required |
|---|---|---|---|
| url | string | your url to be downloaded | yes |
| path | string | destination path for saving url | yes |
| chunk_size | int | size of each chunk of data (in KB) | no |
Static or normal : Static
tools::downloadFile('http://example.com/exmaple.mp4','movie.mp4');