Open ghost opened 12 years ago
zipfile.addFile('myfile.txt', '/path/to/myfile.txt', function (err) {
It seems that '/path/to/myfile.txt' is the path to the file and not the path it is saved in in the Zip!
Should probably clarify that.
zipfile.addFile('myfile.txt', '/path/to/myfile.txt', function (err) {
It seems that '/path/to/myfile.txt' is the path to the file and not the path it is saved in in the Zip!