阅读背景:

Nodejs - 使用Dropbox Core API下载PDF并保存到磁盘

来源:互联网 

I have managed to do this without any problems before with Python and the Python SDK from Dropbox, but now that i am using Nodejs and the Dropbox HTTP API something goes wrong. When i save the PDF file locally i can only see parts of the original PDF, and when i compare it to the original file with for example WinMerge i see that the files are not equal and are different sized. The only difference i can think of is that it might be getting saved with a different encoding than the original, but i have tried most of them with iconv-lite and none of them gives a good result.I have managed to do this without any problems




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: