Chris Lu
179d36ba0e
formatting code by: goimports -w=true .
10 years ago
wyy
4126280d55
use github.com/chrislusf instead of github.com/aszxqw
10 years ago
wyy
1cd19447e3
use github.com/aszxqw instead of code.google.com/p
10 years ago
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
10 years ago
Chris Lu
ce4acecaa8
Fix filer proxing http status code
Double quote etag value.
10 years ago
Chris Lu
5d88cec2df
1. pass through http response headers
2. set http status 201 for creating files
11 years ago
Chris Lu
a3fb644d86
fix wrong error printing that caused panic
11 years ago
Chris Lu
83c0c9843d
Add option to recursively delete a folder.
11 years ago
Chris Lu
cbc5a76e80
Added batch file deleting.
11 years ago
Chris Lu
5f4dc11409
1. root dir has id of 0
2. only delete empty folders
3. correct listing files under a folder
11 years ago
Chris Lu
abde40377c
a correct implementation of filer
11 years ago
Chris Lu
51fafdb525
more robust filer
11 years ago
Chris Lu
2861275fb6
working filer server!
11 years ago