]> git.treefish.org Git - fex.git/blob - htdocs/fup_template.html
7d9fd30d0574acae54ddeb78b0c57d26f266f36e
[fex.git] / htdocs / fup_template.html
1 <html>
2 <head>
3   <meta http-equiv="expires" content="0">
4   <title>F*EX upload template</title>
5 </head>
6 <body>
7 <h1><a href="/">F*EX</a> upload template</h1>
8 <p><hr><p>
9 <script type="text/javascript">
10   function showstatus() {
11     var file = document.forms["upload"].elements["file"].value;
12     if (file != "") {
13       window.open(
14         '$PROTO$://$HTTP_HOST$/fup?showstatus=$RANDOM$',
15         'fup_status',
16         'width=700,height=500'
17       );
18       return true;
19     } else {
20       return false;
21     }
22   }
23 </script>
24 <form name="upload"
25       action="/fup"
26       method="post" 
27       accept-charset="UTF-8" 
28       enctype="multipart/form-data" 
29       onsubmit="return showstatus();">
30   <input type="hidden" name="uid" value="$RANDOM$">
31   <table>
32     <tr><td>sender:      <td><input type="text"     name="from"    size="80" value="">(e-mail address)</tr>
33     <tr><td>auth-ID:     <td><input type="password" name="id"      size="16" value=""></tr>
34     <tr><td>recipient(s):<td><input type="text"     name="to"      size="80" value="">(e-mail address)</tr>
35     <tr><td>comment:     <td><input type="text"     name="comment" size="80" value="">(optional)</tr>
36     <tr><td>file name:   <td><input type="file"     name="file"    size="80" value=""></tr>
37   </table> 
38   <p>
39   <input type="submit" value="submit">
40 </form>
41 <p>
42 <p><hr><p>
43 After "submit" you will see an upload progress bar 
44 (if you have javascript enabled and popups allowed).
45 <p>
46 <em>NOTE: Most web browsers cannot upload files > 2 GB!</em><br>
47 If your file is greater you have to use a special <a href="tools.html">F*EX client</a>.<br>
48 You also need one for resuming interrupted uploads. Your web browser cannot do this.
49 <p><hr><p>
50 <address>Contact: <a href="mailto:$SERVER_ADMIN$">fexmaster</a></address>
51 </body>
52 </html>