]>
Commit | Line | Data |
---|---|---|
769a03c3 MF |
1 | <!DOCTYPE html> |
2 | <html> | |
3 | <head> | |
4 | <meta http-equiv="Pragma" content="no-cache"> | |
5 | <meta http-equiv="Expires" content="-1"> | |
6 | <title>CrFTP Demo</title> | |
7 | <script type="text/javascript" src="crftp.js"></script> | |
8 | <script type="text/javascript" src="main.js"></script> | |
9 | <link rel="stylesheet" type="text/css" href="crftp.css"> | |
10 | </head> | |
11 | ||
12 | <body> | |
13 | <h1>CrFTP Demo</h1> | |
14 | <h2>Status: <code id='status'>Initializing JS</code></h2> | |
15 | <hr> | |
16 | <div id='UI'> | |
17 | <button id='connect'>Connect</button> | |
18 | ftp:// | |
19 | <input id='user' type='text' value='anonymous'> | |
20 | : | |
21 | <input id='pass' type='text' value='luser@crftp'> | |
22 | @ | |
23 | <input id='host' type='text' value='192.168.0.2'> | |
24 | : | |
25 | <input id='port' type='number' value='21' min='1' max='65535'> | |
26 | <br> | |
27 | command: <input id='cmd' type='text' value='dir null'> | |
28 | <br> | |
29 | file transfer: | |
30 | <button id='upload'>Up</button> | |
31 | <button id='download'>Down</button> | |
32 | <input id='files' type='file'> | |
33 | </div> | |
34 | <hr> | |
35 | <p><b>Log:</b></p> | |
36 | <div id='log'></div> | |
37 | <div id='listener'></div> | |
38 | </body> | |
39 | </html> |