Hi there,
currently i am working on an upload component. I followed almost exactly the sampler application
UploadWithProgressMonitoring
and everything is working fine - unless i want to react on exceptions/errors that may come up (e.g. the outputstream returned by a receiver).
Only a wild guess: The (immediate) Upload-component starts a thread, that “eats” any exceptions thrown e.g. in my implementations of a StartedListener.uploadStarted() or Receiver.receiveUpload().
I want to start the upload only if some criteria are met (file does not already exist and so on) and i want to notify the user if an error/exception occurs.
Is there any way, to
- control the upload?
- abort the upload before it actually starts?
- notify the user about any exceptions/errors?
Thank you all in advance,
Markus