From ad945d473ac56385cbf7d37d0e556e3ad4545aa3 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 18 Apr 2010 19:27:44 +0200 Subject: rework upload_form view Signed-off-by: Florian Pritz --- system/application/views/file/upload_form.php | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/system/application/views/file/upload_form.php b/system/application/views/file/upload_form.php index 081277bde..9d5c5eb9c 100644 --- a/system/application/views/file/upload_form.php +++ b/system/application/views/file/upload_form.php @@ -12,21 +12,27 @@

-Uploads/pastes are deleted after 5 days.
+

Uploads/pastes are deleted after 5 days.


-For shell uploading/pasting use:
+

For shell uploading/pasting use:

-curl -F "content=<-"  < file      (not binary safe)
-cat file | curl -F "content=<-"   (not binary safe)
-curl -F "file=@/home/user/foo"    (binary safe)
+curl -n -F "content=<-"  < file      (not binary safe)
+cat file | curl -n -F "content=<-"   (not binary safe)
+curl -n -F "file=@/home/user/foo"    (binary safe)
 

-If you want to you can use my script (needs python and curl) to upload files, paste text or delete your uploads:
-http://git.server-speed.net/bin/plain/fb
+

If you want to use authentication add the following to your ~/.netrc: +

+machine paste.xinu.at password my_secret_password
+
+

+
+

If you want to you can use my script (needs python and curl) to upload files, paste text or delete your uploads:
+http://git.server-speed.net/bin/plain/fb


-If you experience any problems feel free to contact me.
+

If you experience any problems feel free to contact me.



- This service is provided without warranty of any kind and may not be used to distribute copyrighted content. +

This service is provided without warranty of any kind and may not be used to distribute copyrighted content.

-- cgit v1.2.3-24-g4f1b