Hi,
just created the Upload dialog extension, any feedback is highly appreciated.
description and download page is here at http://www.max-bazhenov.com/dev/upload-dialog.php
Hi,
just created the Upload dialog extension, any feedback is highly appreciated.
description and download page is here at http://www.max-bazhenov.com/dev/upload-dialog.php
Use the force - read the source.
hi max,
tested it short and this tool looks nice.
but somehow it is a bit similar to jozefs file file uploader.
what i am still missing in general by uploadtools, is the possibility, to select multiple files or even folders at once. i have not worked with it yet, but think that it is only possible with using flash or a plugin...
when using php in the backend, it would be possible to integrate a status-bar to see, how much of a file is already submitted / still missing. im not sure, if / how it is possible in other serverside-languages, but guess it is.
in your extension, i like the small grid-view in the dialog, which makes it possible via sorting, which file is uploaded first.
the abort-button is not working as intended right now, i guess.
it stops an upload after one file is completed.
if you just upload one big file, it does nothing.
interesting project! kind regards, tobiu
Hi, tobiu,
Yes you are right, but as Jozef mentioned it's unstable under FF && linux, that's why I don't use swf-upload or fancy-upload (or any other flash uploaders) right now.
Yes I know it, but still haven't time to play with php's uploadprogress pecl extension.
Sorry, english isn't my native, I can't understand what do you mean
It's by design actually, just don't know how to abort the hidden iframes form submit action.
Thanks for response![]()
Use the force - read the source.
hi max,
the ext.ajax class has a method abort().
have not tested it though.
"in your extension, i like the small grid-view in the dialog, which makes it possible via sorting, which file is uploaded first."
i meant, that your upload queue always submits the first row of the grid, then the second etc. (chronologically).
i inserted 3 files and sorted the grid by the column filename.
then the upload-order was different from the order, i inserted my files into the queue.
i am not sure if the row-model of the grid support exchanging rows via drag and drop, but if so, users could complete order their files to their own upload-priority before uploading them to the server.
kind regards, tobiu
Hi MaximGB!
That's (almost) exactly what I was looking for. Fantastic! (I just registered for you :p)
I have 2 questions :
- Is there anyway to simply limit the number of uploaded file? (1...n)
- Is it possible to upload the file directly when I choose a file? And so, have more than 1 process if I choose 5 files... and maybe give the possibility to put the upload process dialog on background (hide it)![]()
Hi, Nikoms, thanks for response
For now, I guess you can attach to dialogs 'filetest' event, and in handler check the dialogs store.getCount() method, and if the count is more then you need then you just need to return false from the handler, and the file will not be added to the upload queue.
I didn't understand the first part of the quote, but for the second one...
Yes I think that disabling the close button during upload process is too restrictive, and I just was to curious. I will change this behaviour to not disabling in the next version.
p.s. And I think I know how to do the proper abort for the large files... at least Opera and FF already shows me the good results, IE as usual do on it's own way.
Use the force - read the source.
Hi, Maxim.
Very good extension.
Is it possibly to display:
Size/Total
BSpeed
Avg. speed
Rem. time
?
Ok, thanks.It's possible to implement with help of uploadprogress php pecl extension, or with one of the flash uploading components, but this are the future plans only.
Extension doesn't work with ExtJs 2.0:
PHP Code:
Ext.ux.UploadDialog.Dialog.superclass has no properties
[Break on this error] Ext.ux.UploadDialog.Dialog.superclass.constructor.call(this,el,_7);