1. #21
    Sencha User
    Join Date
    Oct 2008
    Posts
    25
    Vote Rating
    1
    brazhuca is on a distinguished road

      0  

    Default upload

    upload


    hi,

    When I try to upload a file and in the filesadded method return false, the upload is correctly canceled. However, when I try again to upload a file and in the filesadded method return true, the first file was not removed from the upload list.

    I tried it in the filesadded method:
    uploader.removeAll();

    but it does not work.

    Any idea?
    Thanks

  2. #22
    Sencha Premium Member
    Join Date
    Jul 2008
    Posts
    3
    Vote Rating
    1
    jchris is on a distinguished road

      0  

    Default


    Great job! Worked out of the box for me.

    Thanks for sharing this and all the other stuff you did. I´m looking forward using them, specially the ACE Editor.

    I noticed one thing: if you put the upload button inside the DnD area, it will be disabled. Donno, if this is a feature or a bug and I was to lazy to search for this in the code. Not really important.

    I was wondering about the drag-events you had in your example, like window.ondragleave, window.ondrop returning false or preventing default. I cound´t see any difference in using them or not. Is this for avoiding some browser issues or just an example of using these events to "highlight" the window ondragover?

    Thanks
    Chris

  3. #23
    Sencha User
    Join Date
    May 2013
    Posts
    3
    Vote Rating
    0
    jayasingh1802 is on a distinguished road

      0  

    Default big size files ara not getting uploaded in linux

    big size files ara not getting uploaded in linux


    Hi,

    If I am uploading files in mb, files are not getting uploaded.
    I checked some logs in console. I am getting some server_error:1.

    Please suggest something.



  4. #24
    Sencha User
    Join Date
    Oct 2012
    Posts
    4
    Vote Rating
    0
    Indrajit Das is on a distinguished road

      0  

    Default Dynamically change the upload URL

    Dynamically change the upload URL


    I have a requirement where I need to change the URL while going through the tree panel. Each folder should point to itself when a file upload is needed. So is there any way to dynamically change the URL when its needed?

  5. #25
    Sencha User
    Join Date
    Oct 2012
    Posts
    4
    Vote Rating
    0
    Indrajit Das is on a distinguished road

      0  

    Default


    Finally I managed to fix it.

  6. #26
    Sencha User
    Join Date
    Feb 2012
    Location
    Bhubaneswar, Odisha, India
    Posts
    9
    Vote Rating
    0
    SambitMishra is on a distinguished road

      0  

    Default Having issue while trying to disable upload button

    Having issue while trying to disable upload button


    hi,
    First I want to thank for this plugin. It worked great for me, but I am facing an issue,

    The issue is when I try to disable the upload button by buttonObject.setDisabled(true);, the button gets disabled. but when I clicked on that button, the upload window come up.
    Can anyone help me out in this?
    Sambit Kumar Mishra
    Software Engineer @Mindfire Solutions
    www.mindfiresolutions.com

  7. #27
    Sencha User
    Join Date
    Oct 2012
    Posts
    28
    Vote Rating
    7
    rhytha268 is on a distinguished road

      0  

    Default How to handle on server side.

    How to handle on server side.


    Hi,

    Can any one please tell me how to handle it on server side.
    I have added this control in my application and replaced with my URL in place of 'upload.json' for server side.
    Now when i click on start button to upload files it's making request to server side and in POST data containing content of file how to get it in server side php file.

    And also if it post content of file then how we can upload file in our folder by getting from POST.

    Also Is it possible to send full path of selected files.. if yes please tell me?

    Please reply how it works if you have already done.

    Thanks.

  8. #28
    Sencha User
    Join Date
    Aug 2011
    Posts
    15
    Vote Rating
    1
    raye is on a distinguished road

      0  

    Default Unable to popup file 'Select Files' dialog

    Unable to popup file 'Select Files' dialog


    Hi, I am pleased to found a file uploading tool that able to drag & drop multiple files. But here is the problem. I can upload files in your example page ( http://harrydeluxe.github.io/extjs-u...ad/upload.html ) with IE10. But when I plugged into my site, it doesn't show the 'Select Files' dialog in IE10 while Chrome and Safari both works fine. Any idea?

  9. #29
    Sencha User evgenspb's Avatar
    Join Date
    Jun 2010
    Location
    Russia Saint-Petersburg
    Posts
    37
    Vote Rating
    2
    evgenspb is on a distinguished road

      0  

    Default


    Great work Harry!

    I tried to use i18n ... does not work

    I used this way
    HTML Code:
    <script type="text/javascript" src="extjs/ux/upload/plupload/js/i18n/ru.js"></script>
    Could you give an example with i18n?

    Danke schön!

    P.S.
    I use extjs version 4.2.1.883

  10. #30
    Sencha User evgenspb's Avatar
    Join Date
    Jun 2010
    Location
    Russia Saint-Petersburg
    Posts
    37
    Vote Rating
    2
    evgenspb is on a distinguished road

      0  

    Default


    Looks like i catch some small BUG

    file: Basic.js
    method: removeUploaded

    If you remove some records in each cycle, you must to use reverse method.
    Tut mir leid, store.each does not support reverse mode

    Here is my patch (bad style, no time to optimizing)
    Code:
        removeUploaded: function()    {
            var a = [];
            this.store.each(function(record)
            {
                if(record && record.get('status') == 5)
                {
                    a.push(record.get('id'));
                }
            }, this);
            
            Ext.Array.each(a, function(value) {
                this.removeFile(value);
            },this,true);        
        },