This sample demonstrates uploading very large files and resumable upload. 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 uploads any file size (10 GB tested) to any server.
JavaPowUpload with chuncks upload mode also supports Resumable upload. Internet connection can be lost during uploading but JavaPowUpload tryes to restart uploading since last chunk.
Server side script creates temporary file and after file uploaded completely it renames it to original name.
Enable compression
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.
Server side script will unzip each data chunk, and write source data to file. It may increase upload speed of large files.
Parameters related to the chunked upload feature (click to expand)
<!--Enable chunked upload feature -->
<param name="Upload.HttpUpload.ChunkedUpload.Enabled" value="true"> <!-- Size of chunk in bytes. If the parameter is set to -1 , JavaPowUpload will automatically increase the chunk size to an optimal value. -->
<param name="Upload.HttpUpload.ChunkedUpload.ChunkSize" value="-1"> <!--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 . -->
<param name="Upload.HttpUpload.ChunkedUpload.MaxChunkSize" value="2097152">