(Update: Several people have reported some common issues with this tool. If you're having trouble, please try these steps:
I've updated it to attempt to handle these cases, but FYI.)
IT LIVES
Since Amazon recently announced unlimited Cloud Drive storage for $60/year, I've gotten several notes asking me to revive this project. Who am I to deny the people what they want? :-)
I've made a couple of changes to the pyacd upstream module, both incorporating the latest version from upstream and adding a couple of tweaks myself to get things working with the new redesign of the login page. I also incorporated ian1roberts' changes from issue #2; thanks for those!
At this point the driver appears to be working again (although my testing has been very limited). I'll try and make the time in the near future to make some more improvements, including perhaps refactoring some of the common code in the pyacd module and making a pass on acd_fuse
itself to see if there's anything I've learned to do better in the intervening three years.
If things are still not working for you after this update, or if there are any other features you'd like to see, please open an issue so I can take a look.
New feature: proper Unicode support!
I ran into trouble while uploading my MP3 collection, as some files have non-ASCII filenames. This update should properly support those filenames. Logging and error messages should also properly display Unicode data as well.
Realistically, I always find Unicode support to be kind of a crapshoot; if you find a filename that acd_fuse
can't handle, please open an issue with the name so I can try to replicate and fix the problem. Standard disclaimers about data-eating definitely apply.
Some big performance improvements to acd_fuse
in this update. Specifically:
cachefree
direct_io
and big_writes
are now enabled by default (and cannot, actually, be disabled). If I'm to be 100% honest, I'm not really sure what the full significance of each of these options is; but I have noticed significant speed improvements with them enabled.I've made some significant updates to acd_fuse
. Its functionality is expanded, and I now believe it to be ready for prime time.
Changes:
tempfile.gettempdir()
path for faster re-uploads and re-downloads/tmp/acd_fuse/debug.log
tempfile.gettempdir()
path; no config option necessary
/tmp/acd_fuse/sessionfile
--inplace
to use the file caching feature (and --size-only
avoids copying the files to the disk cache for a significant speedup if you don't expect another cache hit)acd_fuse
is a FUSE filesystem driver for Amazon's Cloud Drive. It uses the PyAmazonCloudDrive API library. It supports pretty much everything Cloud Drive does, e.g. directory navigation and file uploading/downloading, but not file permissions. In particular, it supports using rsync to transfer files, and also Unicode filenames.
This filesystem is EXPERIMENTAL and may EAT YOUR BABIES etc. I am not responsible for any loss or damage caused by its use.
Amazon Cloud Drive limits you to eight devices on your account, total, ever. It seems to be the case that loading up this filesystem counts against that limit (although possibly it doesn't start counting until you attempt to download a file). acd_fuse
attempts to mitigate this by storing your login information (cookies and such) in a session file which is automatically populated and re-used between sessions. I think this problem is resolved, but I locked out my test account, so BE CAREFUL about using this with an account you care about!
emerge fuse-python
yum install fuse fuse-python
Standard FUSE mountpoint stuff:
acd <mountpoint> -o<option1>=<value1>,<option2>=<value2>
email
: your Amazon Cloud Drive login emailpassword
: your Amazon Cloud Drive login passwordcachefree
: the percentage of free space to maintain on the filecache's file system; 10 by defaultallow_other
and umask
.acd_fuse is released under a MIT License, in keeping with the library it uses for accessing Amazon Cloud Drive, PyAmazonCloudDrive. That guy (whose name I believe to be Sakurai Youhei http://d.hatena.ne.jp/sakurai_youhei/), did all the hard work and deserves all the credit for writing a great API.
You can email me at comptona@gmail.com.
To report bugs or request features, please use the Issues feature.