1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
6 <title>Upload a file to {DIR}
</title>
7 <meta http-equiv=
"content-type" content=
"text/html; charset=iso-8859-1">
9 <body bgcolor=
"#FFFFFF" text=
"#000000" link=
"#0000FF" vlink=
"#800080" alink=
"#FF0000">
11 <h1>Upload a file to {DIR}
</h1>
13 <p>(equals
<a href=
"{URL}" target=
"_blank">{URL}
</a>)
</p>
15 <p><a href=
"{SCRIPT}?command=show&file={DIR_URL}">Back to {DIR}
</a></p>
17 <p>Using this form, you can upload a file to the current directory ('{DIR}').
</p>
21 <form action=
"{SCRIPT}" method=
"post" enctype=
"multipart/form-data">
22 <input type=
"hidden" name=
"command" value=
"upload">
23 <input type=
"hidden" name=
"file" value=
"{DIR}">
25 <p>File to upload:
<br>
26 <input type=
"file" name=
"uploaded_file" size=
"35"></p>
28 <p>Remote name of the file (optional):
<br>
29 <input type=
"text" name=
"remote_file" size=
"35"></p>
31 <p>Transfer mode (see below):
<br>
32 <input type=
"radio" name=
"ascii" id=
"ascii" value=
"1"><label for=
"ascii">ASCII
</label> <input type=
"radio" name=
"ascii" id=
"binary" value=
"0" checked
><label for=
"binary">Binary (default)
</label></p>
34 <p><input type=
"checkbox" name=
"overwrite" id=
"overwrite"><label for=
"overwrite">Overwrite existing file
</label></p>{IF PERL_ARCHIVE_EXTRACT}
36 <p><input type=
"checkbox" name=
"unpack" id=
"unpack"><label for=
"unpack">Unpack file after upload to the current directory
</label></p>{ENDIF}
38 <p><input type=
"submit" value=
"Upload file!"></p>
43 <p><b>Explanation of the transfer modes:
</b></p>
46 <li><b>ASCII:
</b> Any line separator in the uploaded file will be converted to the system specific line separator. Use this mode for text files, HTML documents, scripts and so on.
</li>
47 <li><b>Binary:
</b> The file will be uploaded as it is. Use this transfer mode for images, executable files and archives, for example. This is the default transfer mode.
</li>
53 <li>If you specify an other remote name for the uploaded file, all slashes and backslashes will be removed from the entered value.
</li>
54 <li>If unpacking of a file fails after uploading the file is still there.
</li>
59 <p align=
"right"><a href=
"{SCRIPT}?command=about" target=
"_blank"><i>About Dev-Editor
</i></a></p>