diff options
-rwxr-xr-x[-rw-r--r--] | networking/httpd_post_upload.cgi (renamed from networking/httpd_post_upload.txt) | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/networking/httpd_post_upload.txt b/networking/httpd_post_upload.cgi index 9d504f484..e4ffd2bb5 100644..100755 --- a/networking/httpd_post_upload.txt +++ b/networking/httpd_post_upload.cgi | |||
@@ -1,18 +1,12 @@ | |||
1 | POST upload example: | ||
2 | |||
3 | post_upload.htm | ||
4 | =============== | ||
5 | <html> | ||
6 | <body> | ||
7 | <form action=/cgi-bin/post_upload.cgi method=post enctype=multipart/form-data> | ||
8 | File to upload: <input type=file name=file1> <input type=submit> | ||
9 | </form> | ||
10 | |||
11 | |||
12 | post_upload.cgi | ||
13 | =============== | ||
14 | #!/bin/sh | 1 | #!/bin/sh |
15 | 2 | ||
3 | # post_upload.htm example: | ||
4 | # <html> | ||
5 | # <body> | ||
6 | # <form action=/cgi-bin/httpd_post_upload.cgi method=post enctype=multipart/form-data> | ||
7 | # File to upload: <input type=file name=file1> <input type=submit> | ||
8 | # </form> | ||
9 | |||
16 | # POST upload format: | 10 | # POST upload format: |
17 | # -----------------------------29995809218093749221856446032^M | 11 | # -----------------------------29995809218093749221856446032^M |
18 | # Content-Disposition: form-data; name="file1"; filename="..."^M | 12 | # Content-Disposition: form-data; name="file1"; filename="..."^M |