summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorGravatar steering72532026-06-24 11:04:31 +0000
committerGravatar steering72532026-06-24 11:04:31 +0000
commitb0171367e9bffcd0be44a296aefbbac743cd8e6c (patch)
tree72b2a5f69cd1f2fd118996abeba6ae745698d0cd /index.html
parentsupport either file[] or file as the field name (diff)
update faq
Diffstat (limited to 'index.html')
-rw-r--r--index.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/index.html b/index.html
index 170f9ec..904adb6 100644
--- a/index.html
+++ b/index.html
@@ -29,6 +29,18 @@
<dd>I dunno. Til I feel like deleting them, which will depend how big they are. Probably for a while. I have a <a href="/upload.php?df">decent amount</a> of free space online (and even more offline that I might move items to for cold storage).
<br />Use it more and make me cry.</dd>
+ <dt>How else can I upload files?</dt>
+ <dd>
+ <pre>
+curl --upload-file file.jpg https://www.hostfil.es
+curl -Ffile=@file.jpg https://www.hostfil.es
+curl -Ffile[]=@file1.jpg -Ffile[]=@file2.jpg https://www.hostfil.es
+ </pre>
+ Or anything else that will send it as either a PUT or POST body.
+ <br>Note that if you want to send multiple files the field needs to be named file[] and you need to use multipart/form-data.
+ <br>If you don't use multipart/form-data then the whole request body must be the single file you wish to upload.
+ </dd>
+
<dt>Are my files private?</dt>
<dd>Mostly. Anyone who knows the SHA-512 sum of the contents can probably find them. Any of our staff (admins and moderators) can find them. And our server host (OVH) could also access our server and find them.</dd>
@@ -45,7 +57,7 @@
<dd>Cuz.</dd>
<dt>Who should I thank?</dt>
- <dd><a href="https://steeri.ng/">steering</a>.</dt>
+ <dd><a href="https://steeri.ng/">steering</a>.</dd>
</dl>
</div>