How to download files from shared Amazon Cloud Drive links through the command-line

amazon-cloud-drivecommand linedownloadwget

I have been using Amazon Cloud Drive (ACD) for a while now and I am very happy someone has developed a command-line-client for it (called acd_cli). It allows me to keep my files in "sync" with my computers even when logging in over ssh in a terminal (generally running on some type of unix system).

However, from time to time I would like to access shared files from ACD. (People can create shared links for this purpose through the website interface similar to shared links in Dropbox).

Unfortunately, these links only show an interactive website, where you manually have to click on the file and press a download button, which then seems to generate a temporary download link to the actual file of interest.

What I would like to do, is being able to download a shared file with wget (or at least a comparable tool) through a command-line-interface. If anyone has found a way to access the actual file-download-link without using the website, please share your findings.

The shared link will look something like this:

https://www.amazon.com/clouddrive/share/ABCDEFG

The actually generated download link stays valid for at least 20 min (I just tested this), but I assume it is temporary, which is fine, but I can only get it through the website right now:

https://content-na.drive.amazonaws.com/cdproxy/templink/VWXYZ

[Comments]

Maybe there is a way through the RESTful API Amazon is providing for ACD, but that generally appears to only allow you to access your own files, not shared links form someone else. There is also this somewhat related thread on their developers forum, which confirms that Amazon doesn't really want you to serve HTML content from ACD: https://forums.developer.amazon.com/forums/thread.jspa?messageID=15698&#15698

Best Answer

i dont know if this would help, but this chrome extension(amazon cloud drive link extarctor) shows the real links on a shared folder so you can download using anything you want. https://chrome.google.com/webstore/detail/amazon-cloud-drive-link-e/blcjinjblhmpmogafadcppekfdfnfgdm

Related Question