Hi there,
I have a rather weird requirement... currently we are using the upload widget, and is using it to upload zip files. The files can be huge, and a significant portion of the zip content can be discarded and not uploaded.
Thus I am wondering is there anyway for us to:
1.) intercept the upload widget just before it performs the upload
2.) retrieve the user selected files
3.) run it on a custom script which converts the zip files into the smaller desired file
4.) uploads these converted files instead
We are wondering whether is there any API or ways to perform steps 1,2 and 4 using the upload widget? Currently, I listened to upload event, which fulfills steps 1 and 2, but is unsure how we could achieve step 4. Thank you!
I have a rather weird requirement... currently we are using the upload widget, and is using it to upload zip files. The files can be huge, and a significant portion of the zip content can be discarded and not uploaded.
Thus I am wondering is there anyway for us to:
1.) intercept the upload widget just before it performs the upload
2.) retrieve the user selected files
3.) run it on a custom script which converts the zip files into the smaller desired file
4.) uploads these converted files instead
We are wondering whether is there any API or ways to perform steps 1,2 and 4 using the upload widget? Currently, I listened to upload event, which fulfills steps 1 and 2, but is unsure how we could achieve step 4. Thank you!