I have a 30Gb fasta file. I'd like to upload it to IMG/ER, but they asked me to provide a FTP link (with the link, the data can be downloaded by 'wget' command). I tried to follow this instruction and generate a FTP link https://stackoverflow.com/questions/37453841/download-a-file-from-google-drive-using-wget. But when they tried to download data with 'wget my_ftp_link', they only got a useless html file. Does anybody know how to generate a FTP link for my data and anyone with my link can download my fasta file with 'wget' command? Thanks a lot!
The trick is to use the Google drive API, in particular, the export command specifying the desired format:
wget "https://docs.google.com/document/d/1gs4V2QbTY9bVf0MavV--a0qmS7-MWWUidRngjg-ooH8/export?format=txt" -O test.txt
You can also do
but only for files that you uploaded. It doesn't seem to work for files that were created in Google docs.
The API seems to have evolved over time so a lot of things found on the net probably doesn't work anymore. It's best to check the docs.