twolfson / grunt-curl

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

Valid filepath on Windows filesystem #41

Open malutanpetronel opened 6 years ago

malutanpetronel commented 6 years ago

Hi

I have a var SERVER_URL = 'http://server.com', LANGUAGE_DATA_FILE = "json/language_data.json";

and I use

curl: {
    'get-lang': {
        src: SERVER_URL+'/get/languagedata2.json',
        dest: LANGUAGE_DATA_FILE
    },...

but no file is created on windows OS I mention I run the command in the folder where json is immediatelly beneath the current location so json path exist

Any ideea ?

twolfson commented 6 years ago

Could you provide more information?

We use grunt.file.mkdir which recursively creates folders so existence shouldn't be a problem