Re: YUI Uploader 2.6.0 + File Browsing in Multiple Times
- The uploader keeps its own internal file list, separate from the one
you are keeping. That file list gets cleared completely by
clearFileList(), which is why you are getting an exception when trying
Right now there is no way to retrieve info of just the files selected
in the last "Browse" session; you would have to filter them out
separately (probably easiest to do by file id, since those are
unique). I will take this down as a feature request (my current idea
is to still pass the entire file queue, but flag the newest files in
> Hai all,
> I am using YUI Uploader 2.6.0 for Multiple File Uploading. I want to
> select files in more than one time browsing (like 2 files in Ist
> browsing,3 files in second browsing etc) and upload it.
> function onFileSelect(event)
> fileList = event.fileList;
> While getting file datas from the event, it contains all the file
> datas, selected in all browsings. Whether it is possible to get file
> data that I selected in the last browsing? That is, Is there any way
> to remove the file data from 'event' after displaying files in the
> I tried with 'uploader.clearFileList();'. It is removing the file data
> from the event, but it is throwing exception while uploading.
> Is anybody having any ideas to solve this problem.
> Thanks in advance for any help.