getFilenames() is empty before upload starts

Upload core product.
Post Reply
mo_salih
Posts: 3
Joined: Wed Jul 07, 2010 2:23 pm

getFilenames() is empty before upload starts

Post by mo_salih »

I've configured the applet to have a "select files" button and "start upload". When i use "select files" to add files to the upload queue, the method getFilenames() in javascript is empty and doesn't return the files in the queue only when i start upload do i get the list of files. Is there a property or a way to get a list of files in the queue prior to starting? My main need at this point is to find out if any file is in the queue (and not necessarily a full list of all the files) just so i can alert the user of the fact that they have items in the queue that were not uploaded. Once upload starts, i can get all the info i need from the jsapi functions.

Thanks

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: getFilenames() is empty before upload starts

Post by support »

With JSAPI, you have transferTriggered(List filenames) callback that provides list for files before upload. Could it help?

Post Reply