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

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.