Skip to content

Commit

Permalink
some clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
filad committed Aug 28, 2013
1 parent 007b8cb commit f07f475
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
12 changes: 7 additions & 5 deletions public_html/FAQ.php
Expand Up @@ -54,7 +54,13 @@
<p class="title">dndUploader FAQ</p>
<p>If you require any more information -> adam.filkor at gmail </p>
<ul>
<li>
<li>This is NOT a fully fledged file upload script. Only a demo I wrote several years ago. (It's 2013 when I write this.)<br>
If you need to handle older browsers etc.. you should check out <a href="http://html5uploader.filkor.org/">http://html5uploader.filkor.org/</a>
<br>
</li>
<li style="margin-top: 30px;">
<u>What is 'dnd' ?</u>
<p>You have the option to upload by drag & drop your files, too. Thats where this name comes from.</p>
</li>
Expand Down Expand Up @@ -105,10 +111,6 @@
<u>Any other things ?</u>
<p>Oh of course! </p>
<p>Plz don't use IE :)</p>
<p>And an important thing is: I have to mention Niklas von Hertzen here.
I read this 'slice the files' idea first on his website.
I learned a lots of things from his source codes. Please visit <a href="http://hertzen.com/">his website</a>, and his interesting experiments, too.
</p>
</li>
</ul>
Expand Down
5 changes: 5 additions & 0 deletions public_html/index.php
Expand Up @@ -81,6 +81,11 @@
<div id="more-info">
<ul>
<li>
Please note this is NOT a fully fledged file upload script, (it doesn't handle older browsers etc..). This (was) only demo I wrote years ago to demonstrate how to make a resumable file uploader.
Maybe better option would be <a target="_blank" href="http://html5uploader.filkor.org/">http://html5uploader.filkor.org/</a> for you.
</li>
<li>You can upload by drag and drop files from your folders, or click above to upload in the usual way. Multiple files are allowed.</li>
<li>You can pause the uploads (you can even close your browser, or turn off your computer.. you don't have to restart again from the beginning). </li>
<li>The maximum file sizes could be hundreds of MB-s.</li>
Expand Down
6 changes: 4 additions & 2 deletions public_html/static/jsUpload.js
Expand Up @@ -194,9 +194,11 @@ function jsUpload(options){

var startByte = packetId * self.packetSize,
endByte = startByte+self.packetSize,
packet;
packet,
slice;

packet = self.file.slice(startByte, endByte);
slice = self.file.slice || self.file.webkitSlice || self.file.mozSlice;
packet = slice.call(self.file, startByte, endByte);

return packet;
}
Expand Down
2 changes: 1 addition & 1 deletion uploaded_files/.gitignore
@@ -1,4 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore
!.gitignore

0 comments on commit f07f475

Please sign in to comment.