when I want to download a pdf file from a website using curl the pdf appears to be corrupted and is not viewable. when is save it directly from the website the pdf works. However on other websites it works fine using curl and I can view these pdfs. What could be the problem here?
I used the curl command to download a picture in my google drive, it get saved but it won't let me open the file. Does we need to modify the code for oAuth authenticaiton used by google, if so how to do it