mholt / PapaParse

Fast and powerful CSV (delimited text) parser that gracefully handles large files and malformed input
http://PapaParse.com
MIT License
12.57k stars 1.15k forks source link

Passing File to complete callback when parsing remote file #755

Open pavelsr opened 4 years ago

pavelsr commented 4 years ago

When I parse remote file file variable in complete callback is just a string with filename instead of File.

complete: function(results, file) {
    console.log("Parsing complete:", results, file);
}

How can I pass File ?

pokoli commented 4 years ago

could you elaborate why do you need a File instance?