twolfson / grunt-curl

Download files from the internet via grunt.
The Unlicense
73 stars 28 forks source link

Problem with multiply files #24

Closed LynxDelli closed 10 years ago

LynxDelli commented 10 years ago

'server_localhost': { src: ['http://localhost/en_US.json', 'http://localhost/es_US.json'], dest: 'builds/json' } I try to get several sources and copy in 1 directory but did not make it to work. If it is just 1 source its working. Any help with this issue?

twolfson commented 10 years ago

For downloading multiple files to a directory, please use the curl-dir task. The curl task only works with one file at a time to allow for more customization about the request.

https://github.com/twolfson/grunt-curl#curl-dir