Rev | Line | |
---|
[36] | 1 | partage
|
---|
| 2 | =======
|
---|
| 3 | File upload system based on HTTP.
|
---|
| 4 |
|
---|
| 5 | Features
|
---|
| 6 | --------
|
---|
[52] | 7 | + No javascript needed!
|
---|
[36] | 8 | + Link expiration
|
---|
| 9 | + Mimetype support
|
---|
[52] | 10 | + Random filenames
|
---|
[36] | 11 | + Multiple file uploads
|
---|
[52] | 12 | + Privilege drop
|
---|
| 13 | + chroot(2) support
|
---|
| 14 | + FastCGI support
|
---|
[36] | 15 |
|
---|
| 16 | Usage
|
---|
| 17 | -----
|
---|
| 18 | Refer to the partage(1) manual page for details and examples.
|
---|
| 19 |
|
---|
| 20 | partage [-v] [-f partage.conf]
|
---|
| 21 |
|
---|
[52] | 22 | Configuration is done through its configuration file, partage.conf(5).
|
---|
[36] | 23 | The format is that of the INI file format.
|
---|
| 24 |
|
---|
[52] | 25 | Uploading files is done via PUT and POST requests. Multiple files can
|
---|
| 26 | be sent via POST requests.
|
---|
[36] | 27 |
|
---|
[52] | 28 | curl -T file.png http://domain.tld
|
---|
| 29 | curl -F file=file.png -F expiry=3600 http://domain.tld
|
---|
[36] | 30 |
|
---|
| 31 | Installation
|
---|
| 32 | ------------
|
---|
| 33 | Edit the `config.mk` file to match your setup, then run the following:
|
---|
| 34 |
|
---|
| 35 | $ mk
|
---|
| 36 | # mk install
|
---|
Note:
See
TracBrowser
for help on using the repository browser.