Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


convertFile does not support uploading .zip files #1

zwise opened this Issue · 2 comments

2 participants


At the moment, the convertFile method in pdfcrowd.js does not appear to support uploading .zip files. I can use a simple html source file without any problems, but trying to upload a .zip results in errors being thrown by the querystring module.

  return encodeURIComponent(str);
URIError: URI malformed
    at encodeURIComponent (native)
    at Object.escape (querystring.js:114:10)
    at querystring.js:151:30
    at (native)
    at Object.<anonymous> (querystring.js:141:31)
    at /Users/zwise/Sites/PL7Docs/node_modules/pdfcrowd/lib/pdfcrowd.js:142:28
    at Object.processRequest (/Users/zwise/Sites/PL7Docs/node_modules/pdfcrowd/lib/pdfcrowd.js:214:29)
    at Object.addRequest (/Users/zwise/Sites/PL7Docs/node_modules/pdfcrowd/lib/pdfcrowd.js:202:14)
    at /Users/zwise/Sites/PL7Docs/node_modules/pdfcrowd/lib/pdfcrowd.js:46:22
    at [object Object].<anonymous> (fs.js:143:5)

This should be fixed by f16aca5. Please could you verify that it is working for you on your end?


Confirming that this issue is fixed. Thanks @pdfcrowd. Closing this issue.

@zwise zwise closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.