📄 configuration_http.html
字号:
<html>
<head>
<META NAME="description" CONTENT="jclientupload is a java applet allowing to upload files and folders through http and https">
<META NAME="keywords" CONTENT="upload,applet,http,https,content range,resume,file,folder,recurse,large upload,progress bar,ssl,tls,multipart,java,web start,uploads,overwrite,j2se,jse,asp,jsp,php,perl,cgi,dotnet,iis,internet explorer,firefox,safari,opera,servlet,apache,multilanguage,fast,drop,drag,dnd,copy,paste,java plugin,login,password,samples">
<TITLE>HTTP Configuration</TITLE>
<STYLE TYPE="text/css">
<!--
a { font-family: Verdana, Arial, Helvetica, sans-serif; color: #0000FF; text-decoration: none}
a:hover { font-family: Verdana, Arial, Helvetica, sans-serif; color: #333333; text-decoration: underline}
.style1 {
color: #000066;
font-weight: bold;
}
.fnt {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
.style2 {color: #FF0000}
.fnt2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
}
.style3 {color: #006600}
.style5 {color: #000099}
-->
</STYLE>
</head>
<body bgcolor="#FFFFFF" onLoad="" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#333333" vlink="#6666FF" alink="#333333">
<table width="770" border="0" name="Main" height="600" cellpadding="0" cellspacing="0" vspace="0" hspace="0">
<tr>
<td>
<table width="770" border="0" name="Head" height="86" cellpadding="0" cellspacing="0" vspace="0" hspace="0">
<tr>
<td width="279" height="86"><a href="http://www.javazoom.net" target="_top"><img src="finemenu/title.gif" width="279" height="86" border="0" alt="JavaZOOM Web Site" vspace="0" hspace="0"></a></td>
<td width="491" height="86" align="center"><img src="img/jclientupload.gif" width="400" height="43"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="514">
<table width="770" border="0" height="514" name="Body" cellpadding="0" cellspacing="0" vspace="0" hspace="0">
<tr nowrap>
<td height="514" width="146" valign="top">
<table width="146" border="0" height="514" cellpadding="0" cellspacing="0" vspace="0" hspace="0">
<tr nowrap align="left">
<td width="146" height="146" background="finemenu/middle.gif">
<b><font face="Verdana, Arial, Helvetica, sans-serif"> <font color="#000066">•</font></font><font face="Verdana, Arial, Helvetica, sans-serif" size="-1"> </font></b><font face="Verdana, Arial, Helvetica, sans-serif" size="-1"><a href="software.html" target="_top"><b>Software</b></a></font><b><font face="Verdana, Arial, Helvetica, sans-serif" size="-1"><br>
</font><font face="Verdana, Arial, Helvetica, sans-serif"> <font color="#000066">•</font></font> </b><font face="Verdana, Arial, Helvetica, sans-serif" size="-1"><a href="installation.html" target="_top"><b>Installation</b></a></font><b><font face="Verdana, Arial, Helvetica, sans-serif" size="-1"><br>
</font><font face="Verdana, Arial, Helvetica, sans-serif"> <font color="#000066">•</font></font> </b><span class="style1"><font face="Verdana, Arial, Helvetica, sans-serif" size="-1">HTTP Upload </font></span><b><font face="Verdana, Arial, Helvetica, sans-serif" size="-1"><br>
</font><font face="Verdana, Arial, Helvetica, sans-serif"> <font color="#000066">•</font></font> </b><font face="Verdana, Arial, Helvetica, sans-serif" size="-1"><a href="configuration_ftp.html" target="_top"><b>FTP Upload </b></a></font><b><font face="Verdana, Arial, Helvetica, sans-serif" size="-1"> <br>
</font><font face="Verdana, Arial, Helvetica, sans-serif"> <font color="#000066">•</font></font> </b><font face="Verdana, Arial, Helvetica, sans-serif" size="-1"><a href="api.html" target="_top"><b>API & Design</b></a></font><b><font face="Verdana, Arial, Helvetica, sans-serif" size="-1"><br>
</font></b></td>
</tr>
<tr nowrap align="center">
<td width="146" height="167" background="finemenu/bottom.gif"></td>
</tr>
<tr nowrap align="center" valign="top">
<td width="146" height="201"><font size="-2"><a href="index.html"><< back</a></font> </td>
</tr>
</table>
</td>
<td height="514" width="624" align="center" valign="top">
<table width="98%" border="0" cellspacing="1" cellpadding="0" align="center">
<tr>
<td valign="top" height="103">
<p align="center"><font color="#000099" face="Verdana, Arial, Helvetica, sans-serif"><b>- Configuration -</b></font></p>
<p><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><strong>H</strong>ere is the list and the meaning of all jClientUpload <a href="#parameters">parameters</a> for <strong>HTTP upload</strong>. You will also find <a href="#html">HTML</a> sample for Applet and <a href="#jnlp">JNLP</a> sample for WebStart
.</font></p>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td valign="top" bgcolor="#FFFFCC"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b><font color="#FF0000" size="-1" face="Verdana, Arial, Helvetica, sans-serif"> <img src="img/right_red-arrow.gif" width="18" height="14" align="absmiddle"> </font><font color="#FF0000">jClientUpload Parameters</font><font color="#FF0000" size="-1" face="Verdana, Arial, Helvetica, sans-serif"><a name="parameters" id="parameters"></a></font></b></font></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#CCCCCC">
<table width="100%" border="0" cellpadding="1" cellspacing="1" class="fnt">
<tr bgcolor="#EEEEFF">
<td align="center"><strong>Parameters</strong></td>
<td align="center"><strong>Description and sample
</strong></td>
<td><strong>Mandatory</strong></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="center" bgcolor="#FFFFFF">url</td>
<td>Web server URL that will process the upload. It
could be the URL of JSP, PHP, CGI, CFM, ASP ...
server-side script. <br>
For instance, http://www.mycompany.com/upload.jsp</td>
<td align="center"><span class="style2">yes</span></td>
</tr>
<tr bgcolor="#EEEEEE">
<td align="center">mode</td>
<td>This parameter allows to select transport protocol.
For HTTP upload it must be "http".</td>
<td align="center"><span class="style2">yes</span></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="center" bgcolor="#FFFFFF">paramfile</td>
<td>This parameter matches to input file HTML form
field needed for upload. Default is "uploadfile".
Check out server-side script to know if you need
to modify this parameter. </td>
<td align="center"><span class="style2">yes</span></td>
</tr>
<tr bgcolor="#EEEEEE">
<td align="center">maxsize</td>
<td>This parameter allows to limit upload size (in
bytes). For instance, to avoid end-user to send
more than 1MB file, use maxsize=1048576. Default
maxsize is -1. It means unlimited upload size. Note
that 1MB=1024*1024=1048576 bytes.</td>
<td align="center">no</td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="center" bgcolor="#FFFFFF">maxfiles</td>
<td>This parameter allows to limit number of files
to upload. Default maxfiles is -1. It means unlimited
files.<br>
</td>
<td align="center">no</td>
</tr>
<tr bgcolor="#EEEEEE">
<td align="center">whitelist</td>
<td>This parameter allows to filter filenames to upload
(*.doc, *.exe, *.gif, *.pdf ...). For instance,
to allow end-user to upload microsoft excel files
only, use whitelist="*.xls". For both gif and jpeg use whilelist="*.gif,*.jpg,*.jpeg".<br> </td>
<td align="center">no</td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="center">blacklist</td>
<td>This parameter allows to forbid filenames to upload (*.exe, *.zip,*.mp3 ...). For instance, to disallow end-user to upload microsoft executable files, use blacklist="*.exe". Note that if you use blacklist then you cannot use whitelist parameter.<br> </td>
<td align="center">no</td>
</tr>
<tr bgcolor="#EEEEEE">
<td align="center">policy</td>
<td>This parameter allows to modify jClientUpload
behavior when a file to upload does not match to
whitelist or maxsize. Default value is "abort",
it means that upload won't proceed. "ignore"
value means upload will proceed and unmatching files
will be ignored. <br>
</td>
<td align="center">no</td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="center">folderdepth</td>
<td>This parameter allows to set a max depth for directories
and subdirectories uploads. Default is 0, it means
to not recurse subdirectories, -1 means unlimited.<br>
</td>
<td align="center">no</td>
</tr>
<tr bgcolor="#EEEEEE">
<td align="center">resume</td>
<td>This parameter allows to resume broken uploads. Values could be "false", "true", "crc", "md5". Default is false. An upload is considered broken if remote file already exists and remote file size < local file size. Additional control could be added : <br>
"crc" : Check if remote file CRC checksum equals local file CRC.<br>
"md5" : Check if remote file MD5 hash equals local file MD5.<br>
See <a href="installation.html#resume">FAQ</a> to learn how it works.<br> </td>
<td align="center">no</td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="center">overwrite</td>
<td>This parameter allows to define overwrite policy for duplicate file on remote server. Values could be :<br>
"true": Allow overwrite.<br>
"false": Return an error message for duplicate uploads.<br>
"indexrename": Rename duplicate upload such as file_1.zip, ...<br>
"timerename": Rename duplicate upload such as file_mstime.zip<br>
Default value is true. See <a href="installation.html#overwrite">FAQ</a> to learn how it works.<br> </td>
<td align="center">no</td>
</tr>
<tr bgcolor="#EEEEEE">
<td align="center">hiddenfile</td>
<td>This parameter allows to "accept" or
"deny" hidden files for upload. Default
value is "accept".<br>
</td>
<td align="center">no</td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="center">template</td>
<td>This parameter allows to rename files to upload with a given template. Value could be any combination of :<br>
":filename:" => Selected filename.<br>
":name:" => Selected name.<br>
":extension:" => Selected extension.<br>
":timestamp:" => Unix-like (epoch) timestamp.<br>
For instance, template="test_:timestamp:_:name::extension:"</td>
<td align="center">no</td>
</tr>
<tr bgcolor="#EEEEEE">
<td align="center">ziponfly</td>
<td>This parameter allows to zip file on-fly before
uploading. It reduces bandwidth usage but it could
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -