From 6a46aca31f3cf0615c226d1486693ed4a6350a39 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 19 Mar 2010 15:32:16 +0100 Subject: restructure; add paste support; shorter URLs Signed-off-by: Florian Pritz --- system/application/views/file/upload_form.php | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'system/application/views/file/upload_form.php') diff --git a/system/application/views/file/upload_form.php b/system/application/views/file/upload_form.php index b39088c4e..081277bde 100644 --- a/system/application/views/file/upload_form.php +++ b/system/application/views/file/upload_form.php @@ -1,13 +1,27 @@
- File: + File: +
+

OR

+
+ +
+ +


-Uploads are deleted after 5 days.
+Uploads/pastes are deleted after 5 days.
+
+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)
+

-If you want to you can use my script (needs python and curl) to upload files, paste text (with syntax highlighting of course) or delete your uploads:
+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.
-- cgit v1.2.3-24-g4f1b