aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-12-22 15:33:11 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-12-22 15:33:11 +0100
commit5d27cb364020f46e9dcd14f30d58c25e94e9b33b (patch)
tree78ddd9f5f437badda4be786b661e11782382c481 /networking
parent6704746c697ace0cc0de5b231fc8be4db06c40f4 (diff)
downloadbusybox-w32-5d27cb364020f46e9dcd14f30d58c25e94e9b33b.tar.gz
busybox-w32-5d27cb364020f46e9dcd14f30d58c25e94e9b33b.tar.bz2
busybox-w32-5d27cb364020f46e9dcd14f30d58c25e94e9b33b.zip
Make POST upload example script easier to use
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-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 @@
1POST upload example:
2
3post_upload.htm
4===============
5<html>
6<body>
7<form action=/cgi-bin/post_upload.cgi method=post enctype=multipart/form-data>
8File to upload: <input type=file name=file1> <input type=submit>
9</form>
10
11
12post_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