What if we want to install gdrive to a remote server and scp is not an option. Its very hard to download files shared on google drive via wget/curl.
I think the compiled binaries should should also be hosted somewhere so that anyone can download them via wget/curl.
PS: archive.org could be a good option.
Could you quantify "very hard to download files shared on google drive via wget/curl"?
Do you mean, for example, this does not work?
wget -O gdrive-linux-x64 https://docs.google.com/uc?id=0B3X9GlR6EmbnQ0FtZmJJUXEyRTA&export=download
Sometimes HTML is returned from google's server and that is downloaded.
If you're getting plaintext HTML, it means you're not using the right URL. I see this commonly with sourceforge, if someone wgets the download page link, instead of the direct link.
-L option. wget follows redirects by default.& as the background operator which means part of the URL is missing.Example:
curl -fLo gdrive "https://docs.google.com/uc?id=0B3X9GlR6EmbnQ0FtZmJJUXEyRTA&export=download"
Could this be added to the installation instructions?
Most helpful comment
Could you quantify "very hard to download files shared on google drive via wget/curl"?
Do you mean, for example, this does not work?
wget -O gdrive-linux-x64 https://docs.google.com/uc?id=0B3X9GlR6EmbnQ0FtZmJJUXEyRTA&export=download