Brian McQueen
d56c748fa8
switch it back to chris's repo
2014-12-14 00:35:26 -08:00
Brian McQueen
c0dfdf4392
switch to my forked repo
2014-12-14 00:20:21 -08:00
Chris Lu
179d36ba0e
formatting code by: goimports -w=true .
2014-10-26 11:34:55 -07:00
wyy
4126280d55
use github.com/chrislusf instead of github.com/aszxqw
2014-09-25 16:57:22 +08:00
wyy
1cd19447e3
use github.com/aszxqw instead of code.google.com/p
2014-09-25 00:47:09 +08:00
Chris Lu
b9aee2defb
add TTL support
...
The volume TTL and file TTL are not necessarily the same. as long as
file TTL is smaller than volume TTL, it'll be fine.
volume TTL is used when assigning file id, e.g.
http://.../dir/assign?ttl=3h
file TTL is used when uploading
2014-09-20 12:38:59 -07:00
Chris Lu
a121453188
benchmarking writing data to a specific collection
2014-03-09 23:54:07 -07:00
Chris Lu
8111f7663d
formatting
2013-11-18 23:04:33 -08:00
Chris Lu
0e5e0a3754
add option to split large files into parts and then upload
2013-11-18 21:47:31 -08:00
Chris Lu
8e1ac16d16
refactoring submit operation
2013-08-14 10:07:42 -07:00
Chris Lu
d5e7c1de0a
refactoring code
...
reusable code by go clients
2013-08-13 23:26:51 -07:00
Chris Lu
d51c8d37bd
Issue 6: upload file without id specified
2013-08-06 12:13:10 -07:00
Chris Lu
e94d52c1af
replicate mime type
2013-07-29 10:09:36 -07:00
Chris Lu
3ae2eabf09
add more description to upload command
2013-07-20 15:14:12 -07:00
Chris Lu
b409ccc5ab
upload respect master default replication setting
2013-07-15 21:34:04 -07:00
Chris Lu
5e3b6e968a
escaping upload file name special characters
...
if already gzipped, avoid gzipping again
2013-07-15 17:26:00 -07:00
Chris Lu
70fe7e6b5d
support gzip file upload, fix problem during replication of gzipped data
2013-07-15 11:04:43 -07:00
Chris Lu
de368ef3c3
adjust usage
2013-07-13 23:19:21 -07:00
Chris Lu
d9c25ccbb0
upload files recursively matching a pattern
2013-07-13 23:17:41 -07:00
Chris Lu
ddf4f27a56
better error message if directory is not found
2013-07-13 22:01:48 -07:00
Chris Lu
72490bc00f
Consistent result format when error happens
2013-07-13 14:35:29 -07:00
Chris Lu
208ed2a991
Add support to upload a directory recursively.
2013-07-13 14:14:16 -07:00
Chris Lu
b0e5112702
"weed upload" return message changes
2013-07-11 22:45:29 -07:00
Chris Lu
4c200acd7d
1. ensure replicated file has the same timestamp
...
2. upload can specify modified time by &ts=...
3. correctly return code 304
2013-07-10 00:25:14 -07:00
Chris Lu
db8e27be6e
add lots of error checking by GThomas
2013-02-26 22:54:22 -08:00
Chris Lu
79d11ac951
go vet
2013-02-10 09:44:44 -08:00
Chris Lu
d4e5a22e53
rename from cmd to weed for easier "go build"
2013-02-10 04:05:28 -08:00