From 5d27cb364020f46e9dcd14f30d58c25e94e9b33b Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 22 Dec 2016 15:33:11 +0100 Subject: [PATCH] Make POST upload example script easier to use Signed-off-by: Denys Vlasenko --- ..._post_upload.txt => httpd_post_upload.cgi} | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) rename networking/{httpd_post_upload.txt => httpd_post_upload.cgi} (84%) mode change 100644 => 100755 diff --git a/networking/httpd_post_upload.txt b/networking/httpd_post_upload.cgi old mode 100644 new mode 100755 similarity index 84% rename from networking/httpd_post_upload.txt rename to networking/httpd_post_upload.cgi index 9d504f484..e4ffd2bb5 --- a/networking/httpd_post_upload.txt +++ b/networking/httpd_post_upload.cgi @@ -1,18 +1,12 @@ -POST upload example: - -post_upload.htm -=============== - - -
-File to upload: -
- - -post_upload.cgi -=============== #!/bin/sh +# post_upload.htm example: +# +# +#
+# File to upload: +#
+ # POST upload format: # -----------------------------29995809218093749221856446032^M # Content-Disposition: form-data; name="file1"; filename="..."^M -- 2.25.1