Seven cattle upload files Gadget v0.1

Very much like seven cattle of storage, but there is no forum seven cattle, looking for small tools very difficult. The upload tool at the official Windows qrsync although very powerful, but often for uploading a single file is a bit too complicated. I just want to get the address and then upload it. So a couple of days to learn C # catching herself, to write a small tool. Currently only implements a function, after a time slowly add it. Usage is very simple, click on the test upload (other buttons are not used) , you can then select the file ( XP system need to install the .NET Framework ). If you already have a file exists, then fail. Seven cattle are not allowed to build before adding subdirectories, so most want to upload the file prefix, such as 2013-8-15- . The final step is ctrl + c and ctrl + v to copy the file address. Seven cattle own website registration , then the new space, permission is set to open, or can not get the file Address (later I will provide a selection on the client). In the manual before using the gadget directory with the same file name as the establishment of a conf.json (must ) will not operate. Contents of the file:
{
        "access_key": "<Please apply your access key>",
        "secret_key": "<Dont send your secret key to anyone>",
        "bucket": "<Bucket name on qiniu resource storage>",
        "domains": ["<foo>.qiniudn.com"],
        "sync_dir": "<Local or FTP directory to upload>",
        "async_ops": "<Async operation for fop>",
        "threshold": 4194304,
        "is_public": 0,
        "key_prefix": "",
        "debug_level": 1
}
For example, I:
{
	"access_key": "___________access_key_______________",
	"secret_key": "____________secret_key_______________",
	"bucket": "itfanr",
	"domains": ["itfanr.qiniudn.com"],
	"sync_dir": "D:/pictures",
	"async_ops": "fop1;fop2;fopN",
	"threshold": 4194304,
	"is_public": 1,
	"key_prefix": "2013-8-15-",
	"debug_level": 1
}
You can add features: 1. Upload the folder or file 2. appears above the list of files, as well as the progress bar. After clicking the file, if the picture is in the upper right corner of the preview 3. Increase options, support for private file download 4. You can customize the display to copy the file to save the file URL 5 failure reason for the failure. If a network problem, you can manually retransmission. 6. 7. viewed HTTP file upload and download files batch rename 8. 9. You can backup to local custom image output format, such as size, get a custom URL Download ------- ------------- update: attaching September 20, 2013: upload tool with the official UI seven cattle produced seven other cattle cloud disk: http://www.oschina.net/ p / qiniudrive

Reproduced in: https: //my.oschina.net/itfanr/blog/195677

Guess you like

Origin blog.csdn.net/weixin_33763244/article/details/91799597