Topic: Error -700?

I'm working on making PLupload work with HTML5, Flash, and HTML4 (in that order) to upload files as soon as they are added (that was just background)
My problem is that upon adding a file in teh HTML runtime either by drag and drop or the browse button I get this error:

Error: -700, Message: File extension error., File: file.extension

I haven't seen ANYONE else with this error. Any clues on how to fix it?

Site to see for yourself: http://jordanjenkins.com/sandbox

javascript:

var uploader = new plupload.Uploader({
        runtimes : 'html5,flash,html4', 
        url : 'http://jordanjenkins.com/sandbox/upload.php', 
     
        max_file_size : '100000mb', 
        chunk_size : '1mb',
        multipart : false, 
        unique_names : false,       
        browse_button : 'pickfilesbutton',
        url : 'http://jordanjenkins.com/sandbox/upload.php',
        flash_swf_url : 'plupload/js/plupload.flash.swf',
        drop_element: 'pickfiles',
        filters : [
            {title : "All Files", extensions : "*"}
        ]
    });
   
     uploader.bind('Init', function(up, params) {
         $('#filelist').html("<div>Current runtime: " + params.runtime + "</div>");
         });
    
          uploader.init();
         
         uploader.bind('FilesAdded', function(up, files) {
         $.each(files, function(i, file) {
         $('#filelist').append(
         '<div id="' + file.id + '">' +
         file.name + ' (' + plupload.formatSize(file.size) + ') <b></b>' +
         '</div>');
         });
             uploader.start();
             e.preventDefault();
         });
        
    uploader.bind('Error', function(up, err) {
         $('#filelist').append("<div>Error: " + err.code +
                 ", Message: " + err.message +
                 (err.file ? ", File: " + err.file.name : "") +
                 "</div>"
                 );
             });
     $('form').submit(function(e) { 
         var uploader = $('#uploader').pluploadQueue(); 
         // Validate number of uploaded files 
         if (uploader.total.uploaded == 0) { 
             // Files in queue upload them first 
             if (uploader.files.length > 0) { 
                 // When all files are uploaded submit form 
                 uploader.bind('UploadProgress', function() { 
                     if (uploader.total.uploaded == uploader.files.length) 
                         $('form').submit(); 
                 }); 
                 uploader.start(); 
             } else 
                alert('You must at least upload one file.'); 
             e.preventDefault(); 
         } 
    });

html:

<body>
        <form method="post" action="http://jordanjenkins.com/sandbox/upload.php">
    <div>
        <div id="filelist">No runtime found.</div>
        <br />
        <div id='pickfiles'><canvas height='400' width='800'></canvas> </div>
        <button id="pickfilesbutton">Select Files</button>
        <button id="uploadfiles">Upload Files</button>
    </div>
</form>
    </body>
Any help would be appreciated! (also if anyone knows why it's not running the flash widget in this example, that would be great!)

Re: Error -700?

Ok a few hours of digging got me my answer:

The error is generated when a user uploads a file with a file extension that doesn't match your filter. So you get that error if you don't allow a pdf and they try to attach a pdf.

As you can see above I have my filter set with a wildcard("*"). While this worked using the widget, it doesn't seem to work for custom implementations.

Since I didn't see any documentation on this error and had to dig a bit to find it, hopefully this will help anyone else who wants to make an uploader that will upload any file and gets this error!