DivShare is the latest share website a la mode ;) I started to use it quickly, and like it a lot. You can upload files really fast, and without any loging or password. It sound usefull no ?
The only issue is that you need a web browser on the desk, and waste some time to find the file. We can do a lot of better with command line no ?
So, I decided to use Twill to build a small tool to do the automatic-login, and file upload. (You can use anonymous login too, simply add -a to the command line)
Of course, a little example is better no ;)
jkx@localhost /tmp> divshare.py ./divshare.py =[ DivShare uploader script ]= * Already logged http://www.divshare.com/download/21679-c72
You can upload up to 5 files at one time, and on course you can script it .. (everybody love find ?)
In the way of, eating it’s own dog food, I decided to host the script divshare.py on
DivShare :)
Is this a way to overwrite files already on divshare? For instance if I use this script to backup some data I may want to overwrite what’s already there.
If you’re loggued in, you can delete the file before push it. (need some script patch) .. if you use the anonymous stuff, you can’t delete files.
Bye
Just a notice: For the time being twill doesn’t work with Python 2.5 on Windows. Use 2.3
this web pages allows every one as independent access to this page. multiple upload is another +
Seems like the script was cleared by DivShare.. Appears as empty file there for me
I tried to download the script from DivShare, but the file there is empty. Please tell me where I can download the divshare.py script. Thank you !
I tried to download the script from DivShare, but the file there is empty. Please tell me where I can download the divshare.py script. Thank you !
+1, plz reupload, if u can