|
|
@ -101,8 +101,8 @@ servefile \-u dir/
|
|
|
|
.PP
|
|
|
|
.PP
|
|
|
|
Uploading file foo as bar to servefile via command line:
|
|
|
|
Uploading file foo as bar to servefile via command line:
|
|
|
|
.PP
|
|
|
|
.PP
|
|
|
|
curl \-X PUT http://ip:port/bar \-d @foo
|
|
|
|
curl \-X PUT http://ip:port/bar \-\-data-binary @foo
|
|
|
|
curl \-X POST http://ip:port/bar \-d @foo
|
|
|
|
curl \-X POST http://ip:port/bar \-\-data-binary @foo
|
|
|
|
wget http://ip:port/bar \-\-post-file=foo
|
|
|
|
wget http://ip:port/bar \-\-post-file=foo
|
|
|
|
.PP
|
|
|
|
.PP
|
|
|
|
Serving a on the fly generated tar.gz file of a directory:
|
|
|
|
Serving a on the fly generated tar.gz file of a directory:
|
|
|
|