Bulk data file transfer
- added support for BulkDataExchange and FileTransfer API
- added zip parser with extracts the zip data from a
downloadFileresponse - tests of BulkDataExchange and FileTransfer requests
- tests of the zip parser using a real response obtained from the sandbox server
@andreaperizzato Thank you for submitting this. Is it possible to make the tests pass? I'd like to merge it at that point. Thank you (and sorry for the very long delay in reviewing).
Hi,
Did anyone manage to get this solution to work? Any report I try to download from ebay just says 'Error occurred while loading the archive' so I think the issue is with the parseResponseZip function because if I just save the result using browser save it works but not through the code after parsing. Any ideas?
Meteor.call("ebay.downloadFile",args, function(err, result){
console.log("response ", err, result); --> this gives me exactly what it should
var zip = parseResponseZip(result);
blob = new Blob([zip], {type: "octet/stream"});
saveAs(blob, "report.zip";);
})
Thanks in advance for your help.
Hi @boboci9,
i've been using this PR in production on node for a while and it works well. What is the zip object on your code? Where does it fail?