]> git.p6c8.net - devedit.git/blob - templates/upload.htm
cdc1f37992f4630dd15ce1a8a6867773c036b2e0
[devedit.git] / templates / upload.htm
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3
4 <html>
5 <head>
6 <title>Upload a file to {DIR}</title>
7 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
8 </head>
9 <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
10
11 <h1>Upload a file to {DIR}</h1>
12
13 <p>(equals <a href="{URL}" target="_blank">{URL}</a>)</p>
14
15 <p><a href="{SCRIPT}?command=show&amp;file={DIR}">Back to {DIR}</a></p>
16
17 <p>Using this form, you can upload a file to the current directory ('{DIR}').</p>
18
19 <p><b>Note:</b> Currently, existing files can't be overwritten, so be careful!</p>
20
21 <hr>
22
23 <form action="{SCRIPT}" method="post" enctype="multipart/form-data">
24 <input type="hidden" name="command" value="upload">
25 <input type="hidden" name="file" value="{DIR}">
26
27 <p>File to upload:<br>
28 <input type="file" name="uploaded_file" size="35"></p>
29
30 <p>Transfer mode (see below):<br>
31 <input type="radio" name="ascii" value="1">ASCII <input type="radio" name="ascii" value="0" checked>Binary (default)</p>
32
33 <p><input type="checkbox" name="overwrite">Overwrite file if it already exists</p>
34
35 <p><input type="submit" value="Upload file!"></p>
36 </form>
37
38 <hr>
39
40 <p><b>Explanation of the transfer modes:</b></p>
41
42 <ul>
43 <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>
44 <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>
45 </ul>
46
47 <hr>
48
49 <p align="right"><a href="{SCRIPT}?command=about" target="_blank"><i>About Dev-Editor</i></a></p>
50 </body>
51 </html>

patrick-canterino.de