jhaals / filebutler-upload Goto Github PK
View Code? Open in Web Editor NEWfilebutler-upload is a lightweight python application that let you upload files to python-filebutler
License: BSD 4-Clause "Original" or "Old" License
filebutler-upload is a lightweight python application that let you upload files to python-filebutler
License: BSD 4-Clause "Original" or "Old" License
Fails:
$ filebutler simian-2.0.3.tar.gz -p foobar -1
usage: filebutler [-h] {upload,list,delete} ...
filebutler: error: invalid choice: 'simian-2.0.3.tar.gz' (choose from 'upload', 'list', 'delete')
Works:
$filebutler upload simian-2.0.3.tar.gz --p foobar -1
simian-2.0.3.tar.gz 100.0% 0.0 mbps
https://example.com/cc11cdfaf0fbd453613288da95a21a91ce90416d
ability to compress and upload directories.
Make first run easier by creating the config file via tutorial.
Bring it back from the dead.
Shortest unique match should resolve the full hash; think git.
Privacy issues with guessable hashes?
Add exceptions for ValueError in json.decode and when server is down.
This is ugly:
~ filebutler com.testing.plist
Traceback (most recent call last):
File "/usr/local/share/python/filebutler", line 9, in <module>
load_entry_point('filebutler-upload==0.0.1', 'console_scripts', 'filebutler')()
File "/Users/jhaals/src/filebutler-upload/filebutler_upload/main.py", line 10, in main
sys.exit(instance.run())
File "/Users/jhaals/src/filebutler-upload/filebutler_upload/application.py", line 198, in run
return self.options.command(fm)
File "/Users/jhaals/src/filebutler-upload/filebutler_upload/application.py", line 135, in do_upload
self.options.lifetime
File "/Users/jhaals/src/filebutler-upload/filebutler_upload/filehandler.py", line 52, in upload
status, response = post(self.url, data, self.headers, callback=pb)
File "/Users/jhaals/src/filebutler-upload/filebutler_upload/httputils.py", line 18, in request
request.connect()
File "/usr/local/Cellar/python/2.7.3/lib/python2.7/httplib.py", line 1157, in connect
self.timeout, self.source_address)
File "/usr/local/Cellar/python/2.7.3/lib/python2.7/socket.py", line 571, in create_connection
raise err
socket.error: [Errno 61] Connection refused
Self explanatory
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.