More frequent progress event updates with network.request()

I am implementing a progress bar for my network uploads. I am using the “progress” event in network.request() to update the progress bar. However, I just get one progress event for most of my uploads which last multiple seconds.

Is there a way to control the frequency of these progress events? Or alternatively, is there a way to check the amount of data uploaded from a different thread (by directly accessing the network transaction from a enterframe listener)? Or do I need to implement network.request on my own?

Cheers!

You can use the progress parameter. 

params.progress - Setting to true enables the progress events. Default is nil, indicating that only the "ended" phase event is desired.

http://docs.coronalabs.com/api/library/network/upload.html

You can use the progress parameter. 

params.progress - Setting to true enables the progress events. Default is nil, indicating that only the "ended" phase event is desired.

http://docs.coronalabs.com/api/library/network/upload.html