downloadFile

download url and save it to path

Arguments
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

Examples :

tools::downloadFile('http://example.com/exmaple.mp4','movie.mp4');