uploader, remove file before upload

Hi,

I'm making a prototype of uploder control, I get the file, if it's bigger than 1MB I divide it into parts and send each of the parts in a blob to database, the bad thing is that in addition to the parts the original file is also sent to the server,

Is there a possibility to avoid sending the original file?

If I use a "return false" in onBeforeFileAdd, the original file is not sent, but the other events do not fire and I need them.

Thanks in advance

Tagged:

Comments

  • edited September 2018

    Hello,

    The uploader's data stored as a DataCollection object (available as uploader.files).
    More information you can find here.
    You can work with it the same way as with a usual Data Collection: add, delete, etc.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion