Git Product home page Git Product logo

jquery-multifile-plugin's People

Watchers

 avatar

jquery-multifile-plugin's Issues

Suggested Feature

What steps will reproduce the problem?
1. n/a
2. n/a
3. n/a

What is the expected output? What do you see instead?
n/a

What version of the product are you using? On what operating system?
n/a

Please provide any additional information below.
I really like this plugin.  I Would like a hook to allow me to format the 
the file listing after browsing for a new file. I'd like to use my own 
html to show the files in a table format and add additional information.

Thanks,

-Craig.

Original issue reported on code.google.com by [email protected] on 12 Dec 2008 at 2:34

Google Chrome Bug

What steps will reproduce the problem?
A1. Click 'Browse'
A2. Click 'Cancel'
A3. Try to click 'Browse' again

B1. Click 'Browse'
B2. Select a file
B3. Click 'Browse'
B4. Click 'Cancel'
B5. Click the 'Remove' button on the top most uploaded file

What is the expected output? What do you see instead?
A: You should be able to select multiple files once again. Instead, the 
control becomes a normal file input instead of the multi one.

B: It should just remove the uploaded file. Instead, another file input is 
magically created next to the first one.

I figured the bug was linked.


What version of the plugin/jQuery are you using?
PLUGIN VERSION: v1.46
JQUERY VERSION: 1.3.2

On what browser(s) or operating system?
BROWSER(S): Google Chrome

Please provide a link to where the problem can be observed:
URL: http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Examples

Feel free to provide any additional information below.

Apparently the number of open curly brackets vs. the number of closed curly 
brackets is out by 1.

Original issue reported on code.google.com by [email protected] on 26 Aug 2009 at 3:54

MultiFile options not being set.

What steps will reproduce the problem?
1. $('input:file').MultiFile({namePattern:'$name_$i'});
2. Select a file for upload and then check (using Firebug) the name of the
newly cloned file input

What is the expected output? What do you see instead?
The newly cloned input file should have a name with a 1 (e.g. attfile_1
where original input was 'attfile_') appended. The name stays the same as
the original.


What version of the product are you using? On what operating system? On
what browser?
jQuery 1.3.1, MultiFile 1.3.1 Firefox 3.0.6

Please provide any additional information below.

It also appears that no other options are accepted, e.g.

$('input:file').MultiFile({max:
5,namePattern:'$name_$i',STRING:{remove:'Remove'}});

results in an 'x' in front of the selected file. any number of files can be
added and the namePattern is ignored.

I posted a message on jQuery google groups but have had no reply.

Original issue reported on code.google.com by [email protected] on 26 Feb 2009 at 11:20

Duplicate File Bug, both files removed

What steps will reproduce the problem?
1. Select a file for first attachment
2. Select same file for second attachment (same filename)

What is the expected output? What do you see instead?

Expected: Second attached file is a duplicate, so it is removed from list.
What I see: Both the first and second attachment that share the name are
removed.  It seems the replace function wipes out all entries with that
filename, effectively removing the duplicate filename and the original
filename.

What version of the product are you using?
1.30



Original issue reported on code.google.com by [email protected] on 27 Oct 2008 at 7:24

Preload files

I just published this post in http://groups.google.com/group/jquery-en as I
didn't know that it was general discussion group..
Here is my situation: I am trying to implement this plugin to some
content's edit page (written in php), that means that content may already
have uploaded files with it so I need somehow to "Preload"this files (or
just filenames) into MultiUpload input..I am not too strong in jquery (in
level of creating/editing plugins atleast), so I faced difficulty by trying
to do that. Could you please help me.
What I think I should do first is after document is loaded run addToList()
function with name of (for example) image that was uploaded with adding
form before. Question is how to do that (if this is correct way) as I
didn't even succeed to run it and what else should be done.
Thanks in advance,Sergio

Original issue reported on code.google.com by [email protected] on 6 May 2009 at 3:54

class property "max-1" doesnot work in IE 6

What steps will reproduce the problem?
1. class="multi max-2" 
2. Now clik on the browse button and select a file.
3. Repeat Step 2.
4. Now as "max-2" is set, the browse button is supposed to be disable. But 
still the button is active and more filse can be selcted. It works fine in 
Mozilla Firefox.

What is the expected output? 
 The browse button should be disabled.
What do you see instead?
 The button is active and we can select more files to upload.


What version of the plugin/jQuery are you using?

PLUGIN VERSION:
   jQuery Multiple File Upload Plugin v1.31 - 2009-01-17 
   Home: http://www.fyneworks.com/jquery/multiple-file-upload/
   Code: http://code.google.com/p/jquery-multifile-plugin/

JQUERY VERSION:
   jQuery JavaScript Library v1.3.2
   http://jquery.com/


On what browser(s) or operating system?
BROWSER(S): IE6

Please provide a link to where the problem can be observed:
URL:  http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Examples
see example - 4



Feel free to provide any additional information below.

Original issue reported on code.google.com by [email protected] on 12 Jul 2009 at 9:05

Internet Explorer jQuery 1.3 crash

I click on Browse then Select a file and then click on Open in the file
dialog, then Internet Explorer 7 and 8 crashes with unhandled exception,
this error only occurs in Internet Explorer with jQuery 1.3.0 and jQuery
Multiple File Upload Plugin 1.3 .

Original issue reported on code.google.com by [email protected] on 16 Jan 2009 at 3:52

Uploads not being sent in Firefox 3

What steps will reproduce the problem?

1. Uploading in IE 6 and 7 work without any problem.  Firefox 3 does not 
pass the upload variable at all
2. Tried placing the form in and out of tables for testing... again works 
fine both ways in IE
3. Used multiple computers with the same result

What is the expected output? What do you see instead?

The file names will appear below the upload box, but the upload variable 
is not sent back to the server at all using Firefox.  Tried several 
different computers with the same result.


What version of the product are you using? On what operating system? On 
what browser?

XP... IE 6, 7 and Firefox 3

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 30 Jan 2009 at 7:08

running disableEmpty does not work.

!!!IMPORTANT!!!
If you're reporting an issue regarding issues uploading files, please check
the following:
1. Have you tried uploading a single file without using the plugin? Makes
sure this works before submitting a bug report
2. Make sure your form has method=POST and enctype=multipart/form-data
3. Are you using valid (x)HTML? Invalid markup can stop the form from being
submitted altogether
4. Are you using the correct element names as required/expected by your
server-side script?

OTHERWISE, please remove this message and complete the form below:

What steps will reproduce the problem?
1.i am using ajaxForm along with multifile
2.setting beforeSend parameter to run $.MultiFile.disableEmpty();
3.ajax does not happen, form submits regularly with js console error

What is the expected output? What do you see instead?
When I submit the form via ajax it still is including the empty element. So
I read the documentation and attempted to run the disableEmpty before the
request is sent. The problem is, Firebug is catching a js error saying
$.MultiFile is undefined.

What version of the plugin/jQuery are you using?
PLUGIN VERSION:1.4.4
JQUERY VERSION:1.3.2

On what browser(s) or operating system?
BROWSER(S):FF 3

Please provide a link to where the problem can be observed:
URL:

Feel free to provide any additional information below.

Original issue reported on code.google.com by [email protected] on 17 Apr 2009 at 2:17

Adding radiobutton

In the example 

$('input:file.multi').MultiFile({  
 STRING: { 
 file: [
       '<input type="text" name="labels[]" value="$file" size="10"/>',
       '<input type="radio" name="mainpicture" value="$file" />'].join('')
 } 
});

I suppose to get radio button which value is image name like: 
mainpicture:value="mazda3.jpg", 
but i have mainpicture:value="$file"

Is that a bug or am i doing something wrong?

Thanks.

Original issue reported on code.google.com by [email protected] on 3 Apr 2009 at 10:55

Feature request: more options for l&f

I have my copy of multi file relatively hacked up so that I can have my
file list above the input box and so that I can make each row look a bit
different than the default. 

So I propose a couple options:

{
    listPosition: 'above' //or 'below' as the default
} 

and some way to change the row html. Maybe something like:

{
    rowFormat: '<div class="myclass">{fileName} {removeLink}</div>'
}

Original issue reported on code.google.com by [email protected] on 29 Oct 2008 at 6:16

Upload after select

Is it possible to give the possibility to upload the file directly (with 
some others parameters : add post variable, timeout, etc...) after a file 
is selected?

And so create some new events like beforeFileUpload, afterFileUpload, 
onUploadError, onUploadSuccess,...

Thanks ;)

Original issue reported on code.google.com by [email protected] on 17 Feb 2009 at 11:25

Entities not escaped in local filename

What steps will reproduce the problem?
1. Have a local file with a name like "24 - xx & xx.pdf"
2. Attempt to upload the file

What is the expected output? What do you see instead?
EXPECTED: file added to list
ACTUAL: Not Well Formed error below; file does not appear in list; plugin
stops working
"""Error: not well-formed
Source Code:
<div xmlns="http://www.w3.org/1999/xhtml"><span class="MultiFile-title"
title="File selected: 24 - xx & xx.pdf">24 - xx & xx.pdf</span></"""

What version of the plugin/jQuery are you using?
PLUGIN VERSION: v1.46 - 2009-05-1 (packed)
JQUERY VERSION: 1.3.2 (google hosted)

On what browser(s) or operating system?
BROWSER(S): Firefox 3.0.5 / Windows XP

Please provide a link to where the problem can be observed:
URL: Behind a password

Feel free to provide any additional information below.
It appears that this is a result of ampersand not being escaped; can be
observed for any filename containing an ampersand. I assume this would also
arise with other restricted HTML characters (e.g. angle brackets).

Page is XHTML 1.0 Strict served as application/xhtml+xml. Encoding is UTF-8.

Original issue reported on code.google.com by [email protected] on 24 Aug 2009 at 1:45

[REQUEST] generated hidden inputs should include a "name" attribute

What steps will reproduce the problem?
1.any use of the plugin
2.
3.

What is the expected output? What do you see instead?

The hidden generated input field for each uploaded file contains an "id"
attribute based on the "id" attribute of the input field you manage with
the plugin, but doesn't take into account the "name" attribute of the input
field. The same behaviour with the "name" attribute is desirable and maybe
needed for some applications. Example:

You upload 2 files with an input with "new-file" id.
The first hidden input would have "new-file_F1" id, and the second
"new-file_F2" id.
The hidden inputs can have also "new-file_F1" and "new-File_F2" name of
generate them according to the "new-file" input name if present.


What version of the plugin/jQuery are you using?
PLUGIN VERSION: 1.46
JQUERY VERSION: 1.3

On what browser(s) or operating system?
BROWSER(S): firefox, opera, chrome, explorer

Please provide a link to where the problem can be observed:
URL:

Feel free to provide any additional information below.

Original issue reported on code.google.com by [email protected] on 11 Sep 2009 at 1:33

Broken in Webkit browsers (Safari, Chrome)

What steps will reproduce the problem?
1. Using a Webkit based browser (Safari, Chrome, ..)
2. Select a file to upload
3. Post the form
4.

What is the expected output? What do you see instead?
The Request.Files property should contain the selected files to upload when 
the form is posted. Instead it is empty. 

NOTE that everything works as expected in IE6+ and FF2+


What version of the plugin/jQuery are you using?
PLUGIN VERSION: 1.46
JQUERY VERSION: 1.3.2

On what browser(s) or operating system?
BROWSER(S): Webkit based (Safari, Chrome, ..)

Please provide a link to where the problem can be observed:
URL: email me for link: cameron dot sibbald at gmail dot com

Feel free to provide any additional information below.
Works perfectly in IE6+ and FireFox 2+

Original issue reported on code.google.com by [email protected] on 30 Jun 2009 at 5:33

Documentation: Accept parameter via javascript is wrong.

!!!IMPORTANT!!!
If you're reporting an issue regarding issues uploading files, please check
the following:
1. Have you tried uploading a single file without using the plugin? Makes
sure this works before submitting a bug report
2. Make sure your form has method=POST and enctype=multipart/form-data
3. Are you using valid (x)HTML? Invalid markup can stop the form from being
submitted altogether
4. Are you using the correct element names as required/expected by your
server-side script?

OTHERWISE, please remove this message and complete the form below:

What steps will reproduce the problem?
1.select a input field via javascript
2.set the accept parameter by passing it to MultiFile through the selector
3.use the suggested comma separated list of extensions(mine were 'gif,jpg,png')

What is the expected output? What do you see instead?
The script should only allow files with gif,jpg, and png. What happens
instead is that every file errors. What fixes this is using the regex
symbol for or '|'. Replacing the commas with the or symbol makes the script
perform as expected. The documentation on the "Examples" needs to be
changed to reflect the correct usage of the accept parameter.

What version of the plugin/jQuery are you using?
PLUGIN VERSION:1.4.3
JQUERY VERSION:1.3.2

On what browser(s) or operating system?
BROWSER(S):FF 2, Chrome

Please provide a link to where the problem can be observed:
URL:

Feel free to provide any additional information below.

Original issue reported on code.google.com by [email protected] on 15 Apr 2009 at 11:59

reEnableEmpty() does not work when conventional submission is halted

What steps will reproduce the problem?
1. Create a form with a file upload and make the file upload a multifile
upload field
2. Add in form validation and bind the validation method to the form submit
3. Submit the form and make it fail validation (function returns false) and
notice that the file button is disabled

What is the expected output? What do you see instead?
I expect the file upload button to re-enable after the validation.

What version of the plugin/jQuery are you using?
PLUGIN VERSION: 1.45
JQUERY VERSION: 1.3.2

On what browser(s) or operating system?
BROWSER(S): Firefox on Windows

Please provide a link to where the problem can be observed:
URL: Not available. Private portal.

Feel free to provide any additional information below.
Here is a snippet of the html creating the file upload field, and the
document.ready and validation code. None of it is doing anything out of the
ordinary.

<form name="cmlCreateUpdateForm" id="cmlCreateUpdateForm" method="POST"
enctype="multipart/form-data" action="createModel.jsp">
<table>
<tr>
    <td colspan="1" align="right">Enter Supporting Documents to Upload<br>
    <input type="file" id="supportingDocs" name="supportingDocs" /></td>
    <td colspan="3">
      &nbsp;
    </td>
    </tr>
</table>
</form>

jQuery(document).ready(function() {
    jQuery("#cmlCreateUpdateForm").bind('submit', validateCmlForm);
    jQuery("#supportingDocs").MultiFile();
});

function validateCmlForm(){

    var errMsg = "";
if (jQuery("input[name='ExternalURL']",
"#cmlCreateUpdateForm").val().trim().length == 0) {
        errMsg += "Please enter the model home page\n";
    }
    if (jQuery("input[name='IssueTrackingURL']",
"#cmlCreateUpdateForm").val().trim().length == 0) {
        errMsg += "Please enter the model issue tracking URL\n";
    }

    if(errMsg.length > 0){

        alert(errMsg);
        /*
        jQuery.fn.MultiFile.reEnableEmpty();
        jQuery("#supportingDocs").removeAttr("disabled");
        */
        return false;

    }else{
        return true;
    }
}

As you can see, I tried using reEnableEmpty() and also manually re-enabling
the file field, but neither one works. Finally, I also tried using
autoIntercept to no avail:

jQuery("#supportingDocs").MultiFile({
        autoIntercept: ['validateCmlForm']
    });

I appreciate the help in figuring this out!

Original issue reported on code.google.com by [email protected] on 12 May 2009 at 3:04

Add css class to wrapper containing file list, and set inputs to stay in the same order as labels (already done; check attached)

1st problem: the inputs weren't in the same order as the labels. Since we
keep track of sequencing in our application, we had to fix it.

Here's what I did:
Switched 
MF.wrapper.prepend(newEle);//.append(newEle);
to (the previously commented out)
MF.list.before(newEle);//.append(newEle);


2nd problem: I needed an easy way to make the file list a little more
obvious; so, I added an option for "fileLabelClass" which gives the span
containing the file list a class that I specify.

Here's what I did:

- added 
fileLabelClass: ''
to the options


- modified
MF.wrapper.append('<span id="' + MF.wrapID + '_list"></span>');
to
MF.wrapper.append('<span id="' + MF.wrapID + '_list" class="' +
MF.fileLabelClass + '"></span>');


Let me know what you think.
-Jack Lawson

Original issue reported on code.google.com by [email protected] on 26 Mar 2009 at 5:54

Attachments:

Firefox 3.5 beta cannot open jquery-multifile-plugin homepage.

What steps will reproduce the problem?
1. Open your homepage http://www.fyneworks.com/jquery/multiple-file-upload/
2. Firefox 20090420 Shiretoko/3.5b4pre crashes.

What is the expected output? What do you see instead?

In Firefox 3.0.8 doesn't crash, but reports an error on firebug console.
   object is undefined
   [Break on this error] var name, i = 0, length = object.length; jquery.js
(line 672)

What version of the plugin/jQuery are you using?
PLUGIN VERSION: Shockwave Flash 9.0.151
JQUERY VERSION: 1.3.2

On what browser(s) or operating system?
BROWSER(S):  Firefox 20090420 Shiretoko/3.5b4pre Mac OSX Leopard

Please provide a link to where the problem can be observed:
URL: http://www.fyneworks.com/jquery/multiple-file-upload/

Feel free to provide any additional information below.


Original issue reported on code.google.com by [email protected] on 21 Apr 2009 at 5:46

Problem with ui-dialog


What version of the plugin/jQuery are you using?
PLUGIN VERSION: 1.45
JQUERY VERSION: 1.3.2

On what browser(s) or operating system?
BROWSER(S): Firefox 3.0.10 Ubuntu Jaunty

Using the plugin on a jquery ui dialog with ui tabs inside, browse button
disables itself after a file selection, even if max property is greater.

Original issue reported on code.google.com by [email protected] on 29 Apr 2009 at 2:42

File Field remains disabled after multi file alerts user to bad file type in FF 3


What steps will reproduce the problem?
When choosing a wrong file type (extension) in Firefox 3 (Mac) and you have 2 
or more multi files 
in one form, when the wrong file type alert is fired and you clear the error 
with your return key, 
the file chooser remains disabled after it is cleared of the bad file by the 
script.

I fixed the issue by adding 
slave.disabled = false;
at the end of the Handle error block.


What version of the plugin/jQuery are you using?
PLUGIN VERSION: 1.4.5
JQUERY VERSION:1.3.2

On what browser(s) or operating system?
BROWSER(S):

Please provide a link to where the problem can be observed:
URL:

Feel free to provide any additional information below.


Original issue reported on code.google.com by [email protected] on 6 Jun 2009 at 2:44

bug in safari for the class="multi max-3 accept-gif|jpg"

What steps will reproduce the problem?
1.When i am using multiple file upload with class="multi max-3 accept-
gif|jpg" it is accepting more file but it should accept only 3 files 
2.
3.

What is the expected output? What do you see instead?
When i am using multiple file upload with class="multi max-3 accept-
gif|jpg" it is accepting more file but it should accept only 3 files 

What version of the plugin/jQuery are you using?
PLUGIN VERSION:jQuery Multiple File Upload Plugin v1.31
JQUERY VERSION:

On what browser(s) or operating system?
BROWSER(S):Safari

Please provide a link to where the problem can be observed:
URL:

Feel free to provide any additional information below.

Original issue reported on code.google.com by [email protected] on 13 Mar 2009 at 12:11

Bug Fix Syntax error, unrecognized expression: ]_wrap

What steps will reproduce the problem?
1. Create form
2. Give the file input the name file[]
3. Browse to page

What is the expected output? 

The expected output is nothing (nothing has happened other than the
javascript processing)

What do you see instead?

uncaught exception: Syntax error, unrecognized expression: ]_wrap

What version of the plugin/jQuery are you using?
PLUGIN VERSION: 1.3.2
JQUERY VERSION: jQuery Multiple File Upload Plugin v1.46 - 2009-05-12

On what browser(s) or operating system?
BROWSER(S): Firefox

The bug is this:
At this point:
MultiFile.wrapID = MultiFile.instanceKey + '_wrap';  // Wrapper ID?

MultiFile.instanceKey #=> file[]

so when it gets to:

MultiFile.wrapper = $('#'+MultiFile.wrapID+'');

it is trying to select $('#file[]_wrap'); which is not a valid selector.

To fix it replace:

MultiFile.wrapID = MultiFile.instanceKey + '_wrap';  // Wrapper ID?

with:

MultiFile.wrapID = (MultiFile.instanceKey).replace('[]','')+'_wrap'; //
Wrapper ID?




Original issue reported on code.google.com by [email protected] on 14 Aug 2009 at 4:40

Image Preview before uplaoding

What steps will reproduce the problem?
Air My problem is i want to preview image before uplaoding  

What is the expected output? What do you see instead?
preview image before uploading

What version of the product are you using? On what operating system? On 
what browser?
version 1.31 and using vista operting system

Please provide any additional information below.
no

Original issue reported on code.google.com by [email protected] on 28 Jan 2009 at 4:41

Doesn't work with apache struts!

I have tried to upload many files with this plugin, but i didn't get it.

Struts uses FormFile class to get any file uploaded by input type="file". I
tried to get the files but they come with null value.

Do you have any example using this plugin with struts?

Thanks!


Original issue reported on code.google.com by [email protected] on 18 May 2009 at 7:42

Suggest a new function

Hope to provide a progress.


What version of the plugin/jQuery are you using?
PLUGIN VERSION: v1.46
JQUERY VERSION: 1.3.2

On what browser(s) or operating system?
BROWSER(S): IE6,7,8,FireFox2,3

Original issue reported on code.google.com by [email protected] on 14 Aug 2009 at 7:14

Strange Arrays

What steps will reproduce the problem?
1. Upload any files
2. in your PHP document do print_r($_FILES);
3. Arrays are messed up

What is the expected output? What do you see instead?

Usually when you upload a file, the array is set as
filename,mimetype,errors,filesize,

but instead if you upload multiple files, you get

filenames as an array , mimetypes as an array , errors as an array , etc


What version of the product are you using? On what operating system? On
what browser?

version 1.31 , using windows vista basic, and firefox 3, IE 7, Google Chrome

Please provide any additional information below.


I have put <input type="file" name="photos[]" id="photos" class="multi">

the out put is something similar to

Array ( [photos] => Array ( 
[name] => Array ( [0] => [1] => cat_bg.gif [2] => cat_arrowdown.gif [3] =>
cat_arrow.gif ) 
[type] => Array ( [0] => [1] => image/gif [2] => image/gif [3] => image/gif ) 
[tmp_name] => Array ( [0] => [1] => C:\wamp\tmp\phpE3A9.tmp [2] =>
C:\wamp\tmp\phpE3AA.tmp [3] => C:\wamp\tmp\phpE3BB.tmp ) 
[error] => Array ( [0] => 4 [1] => 0 [2] => 0 [3] => 0 ) 
[size] => Array ( [0] => 0 [1] => 54 [2] => 62 [3] => 65 ) ) ) 

PHP code:

print_r($_FILES);exit;



Original issue reported on code.google.com by [email protected] on 2 Mar 2009 at 6:38

jQuery-latest.js file erroring out

I am trying to run the jQuery-latest.js file and in my firebug i am running
into the following error:

this.cloneNode is not a function

It is not allowing me to create the multiupload!

Original issue reported on code.google.com by [email protected] on 24 Oct 2008 at 4:23

added caption/text for each file upload

jQuery Multiple File Upload Plugin v1.3 - 2008-09-30

I've just added support for image captions (or a note for a file). I
appended a second link ("caption", specified in STRING) in the label
elements group, plus a hidden textarea. The link is given an onclick
handler to reveal the textarea.

I'd originally made the onclick handler append the textarea box. However,
if a user chose not to add a caption for one file, it would mean that the
captions wouldn't balance with the number of uploaded files. So, it's
necessary for there to be a textarea for each file, regardless of its use
(hence, it's hidden by default). Of course, this means that it becomes
necessary to handle empty POST params to avoid getting the empty string
instead of a desired NULL for a particular file caption.

The textarea name is upload_text[] (I didn't want to use "caption" as
that's image-specific) and they're submitted in the same order as the file
uploads, given that each is appended to its own label group.

I also re-arranged the label group a bit so that the 2 links are below the
filename, with the textarea opening below those.

And, I added class="MultiFileWrap" to the main div ("Create wrapper to hold
our file list") in order to make CSS a bit easier to manage. Eg:

.MultiFileWrap
{
    padding: 5px;
    border: 2px #666 inset;
}

.MultiFileWrap div
{
    padding-bottom: 5px;
    border-bottom: 1px dashed #999;
}
.MultiFileWrap textarea
{
    display: block;
    width: 30em; height: 10em;
}

Finally, I added a new config param, captionSupport (defaults to false), so
that this new behaviour must be explicitly enabled. This is tested at the
"Create label elements" section. The code here could be tightened up
somewhat but I chose to leave it obvious what I was intending.

Please see the attached diff. I'd appreciate your thoughts.

brian ally


Original issue reported on code.google.com by [email protected] on 15 Nov 2008 at 8:48

Attachments:

Multiple File selection is not working

Hi,

I tried to execute the demo provided in the URL 
(http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Examples) for 
this particular project.  I tried to select multiple files in single 
upload, but it was failed.

Let me know if I am testing the demo in wrong way.

Also, is it possible to populate the file types in file selection dialog 
box?

Please let me know for any questions.

Regards
Saikumar K

Original issue reported on code.google.com by [email protected] on 2 Jun 2009 at 10:09

IE 7 Stack Overflow / Out of Memory errors

What steps will reproduce the problem?
1. Load page in IE 7
2. Select several files for upload
3. Submit Form


What is the expected output? What do you see instead?

I expect the data to be sent to the server side (localhost in this case). 
Files are less than 1K, so I expected it to happen quickly. 

Instead, the browser hangs, and alternately throws "Stack Overflow" 
and "Out of Memory" errors in popup dialogs.

This works quickly and flawlessly in Firefox.

What version of the plugin/jQuery are you using?
PLUGIN VERSION: 1.31
JQUERY VERSION: 1.2.6

On what browser(s) or operating system?
BROWSER(S): IE 7, Windows XP

Please provide a link to where the problem can be observed:
URL:  Sorry - Internal app. I'll try to reproduce the problem in a demo 
page when I get home.

Feel free to provide any additional information below.

This happened on two different machines. 

Original issue reported on code.google.com by [email protected] on 24 Mar 2009 at 8:33

empty array on upload

What steps will reproduce the problem?
1.upload the file
2.array is empty
3.1 img will upload, multiple upload gives empty array

What is the expected output? What do you see instead?


What version of the plugin/jQuery are you using?
PLUGIN VERSION:latest
JQUERY VERSION:v1.3.1

On what browser(s) or operating system?
BROWSER(S):IE/firefox

Please provide a link to where the problem can be observed:
URL:

Feel free to provide any additional information below.
enctype is set

Original issue reported on code.google.com by [email protected] on 23 Mar 2009 at 12:45

Feature Suggestion

The ability to add additional information related to uploaded files.
For example to define a title field with each uploaded file would be nice.

I usuall use this nice plugin in the custom admin panels I develop. It'd be
really useful for the users to define a title/description/note field
related with the uploaded file

Original issue reported on code.google.com by [email protected] on 9 Feb 2009 at 9:32

Multifile doesn't Work on Firefox 3.5


What steps will reproduce the problem?
1. Firefox 3.5 20090624

What is the expected output? What do you see instead?
I want to upload files using Jquery & PHP. But When I upload using Firefox
My $_FILES Array is completely Empty. But on IE it works Fine. 
Is there anyway i can get it work on Firefox?

What version of the plugin/jQuery are you using?
PLUGIN VERSION: Latest Downloaded on 20 July 09
JQUERY VERSION: Latest Downloaded on 20 July 09

On what browser(s) or operating system?
BROWSER(S): Firefox 3.5

Original issue reported on code.google.com by [email protected] on 20 Jul 2009 at 7:33

Empty element is not fixed

There is an error when submitting an empty field (no file selected), it
does not disable the existing input file. I am using the latest version of
the plugin.

Original issue reported on code.google.com by [email protected] on 10 Sep 2009 at 10:57

Init the div with pre uploaded file

Hello!

I would like to add some file in the list before displaying the multi-file
form. Is it possible?

I have a form to subscribe to a website, and I would like to have the same
form, but for the update. I want to display all the files they uploaded
with the possibility to delete them (and so display or not the input file
if we have the maximum file number)

Thank you!


NIcolas

Original issue reported on code.google.com by [email protected] on 13 Sep 2009 at 3:20

uploading does not work in FireFox

!!!IMPORTANT!!!
If you're reporting an issue regarding issues uploading files, please check
the following:
1. Have you tried uploading a single file without using the plugin? Makes
sure this works before submitting a bug report
2. Make sure your form has method=POST and enctype=multipart/form-data
3. Are you using valid (x)HTML? Invalid markup can stop the form from being
submitted altogether
4. Are you using the correct element names as required/expected by your
server-side script?

OTHERWISE, please remove this message and complete the form below:

What steps will reproduce the problem?
1. a form with an <input type="file" class="multi"> element
2. selecting a file in FireFox
3. uploading it to another destination

What is the expected output? What do you see instead?
HttpRequest.Files on postback is empty (count=0)

What version of the plugin/jQuery are you using?
PLUGIN VERSION: v1.3.2
JQUERY VERSION: v1.46

On what browser(s) or operating system?
BROWSER(S): FireFox 3.0 and Firefox 3.5, Windows Server 2003 and Windows Vista


Feel free to provide any additional information below.


I have found this problem on the internet but never found a decent solution

Original issue reported on code.google.com by [email protected] on 28 Aug 2009 at 4:02

suggest

1.support button style setting.
2.support images or button instead upload field.
3.layout style, example http://aariadne.com/uploadform/

Good day.

Original issue reported on code.google.com by [email protected] on 5 Dec 2008 at 7:43

How can I remove all the entries? Thanks

What steps will reproduce the problem?
no steps

What is the expected output? What do you see instead?
After submitting the form, I would like to reset the form (remove all the 
entries) without freshing the current web page. Is there any function 
available? Thanks

What version of the product are you using? On what operating system?
1.3

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 8 Nov 2008 at 1:59

Class configuration does not work in Safari

What steps will reproduce the problem?
1. Create element with class="limit-n" or class="accept-ext1|ext2"

What is the expected output? What do you see instead?
The plugin should parse the class string and extract those settings.




Original issue reported on code.google.com by [email protected] on 17 Jan 2009 at 10:54

passing file names to server side code like ASP, PHP with post - no data or only 1 data item is available.

What steps will reproduce the problem?
1. post to a ASP or PHP program
2. try and get the data
3.
What is the expected output? What do you see instead?
you can only get one file name or in some cases none at all.

What version of the plugin/jQuery are you using?
PLUGIN VERSION:1.31
JQUERY VERSION:newest

On what browser(s) or operating system?
BROWSER(S): IE Mozilla 

Please provide a link to where the problem can be observed:
URL:

Feel free to provide any additional information below.
==>it would be great if the file informatin was sent as a coma delminted 
string in a standard hidden field.

Original issue reported on code.google.com by [email protected] on 27 Mar 2009 at 5:57

Always assumes there is something in the array

What steps will reproduce the problem?
1. If you simply upload the form and echo out the array of files 

What is the expected output? What do you see instead?

I am using your upload form and I have followed your instructions but I am
running into one small problem. Lets say i choose to upload file1, file2
and file3... and then echo the results out (like say for debugging
purposes) well the code will produce file1, file2 and file3 but will always
add one file to the array. So the input variable will always assume
something is in it. Make sense?


What version of the product are you using? On what operating system?

I am using v1.3

Please provide any additional information below.

Here is the code I am working with

if(isset($_FILES['uploadedfile']['name']) &&
$_FILES['uploadedfile']['name'] != ' ') {
                                        foreach($_FILES['uploadedfile']['name'] as $key) {

                                            echo "uploads/" . $key . "<br />";
                                        }
} 

Ok my html input is called uploadedfile[] well when i echo out the results
adding uploads/ before the name it will always add an extra uploads/.


Original issue reported on code.google.com by [email protected] on 20 Oct 2008 at 8:27

In IE 7.0.6001.18000 no ids were given for new created <input type="file" .. elements after adding a file for upload

What steps will reproduce the problem?
1. Add file in IE
2. Look whith IE Developer Bar in Element <div id="[elementname]_wrap>
3. See that the <input> elements have no ID (or id is null)

What is the expected output? What do you see instead?


What version of the plugin/jQuery are you using?
PLUGIN VERSION: 1.32
JQUERY VERSION: 1.3

On what browser(s) or operating system?
BROWSER(S): IE 7.0.6001.18000

Please provide a link to where the problem can be observed:
URL:

Feel free to provide any additional information below.

in jquery.MultiFile about row 400 in function 'MF.addSlave' the id is being 
assigned to the 'slave' 

    400: slave.id = slave.id || MF.generateID(slave.i);

ID is never generated in IE becouse slave.id is 'null' and is not beeing 
recognized as a boolean value I suppose. My fixed code line looks like 
this:

     400: slave.id = MF.generateID(slave.i);

This works in IE and Firefox (other browsers were not tested)


cheers,

edik



Original issue reported on code.google.com by [email protected] on 1 Apr 2009 at 4:19

Firefox sends only filenames instead of files.

What steps will reproduce the problem?
1. Select files to be uploaded (Firefox 3.5)
2. Submit form.
3. After submitting I only get filenames.

What is the expected output? What do you see instead?
I am expecting to get whole file path but instead I get only the filenames.

What version of the plugin/jQuery are you using?
PLUGIN VERSION:1.46
JQUERY VERSION:1.3.2

On what browser(s) or operating system?
BROWSER(S):Firefox 3.5

Feel free to provide any additional information below.
Internet explorer 7 works just fine.

Original issue reported on code.google.com by [email protected] on 25 Aug 2009 at 1:44

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.