I'm on Mac OSX trying to use telnet to get a file off of google drive. I found that the following link template causes an automatic download of a file off of google drive:
where documentId is the id of the document (a combination of numbers and letters). So I go to the terminal, type
telnet drive.google.com 80 and get connected to the server. Then I type
GET /uc?id=documentId&export=download HTTP/1.1, press enter, type
Host: drive.google.com, then press enter twice.
I'm pretty sure I followed the steps correctly, but for some reason, I always get a status code of 302 Moved Temporarily. Did I enter the URL wrong, are there some characters that need to be escaped? Any suggestions would be helpful.