On 05/09/2013, at 12:04 AM, Samuel Pelletier <
email@hidden> wrote:
I suppose you want to inspect the document and decide to allow or deny it.
Actually, no. I don't want to hinder, or even get involved in, creation of the ERAttachment. I just want the file content at the time of upload—for this particular use case, I'm getting some CSV uploaded and I want to parse it at upload time, nothing more.
If you want to intercept the stream before because the content may be big and even stop the upload before it is completed, you will need to dig deeper. I don't think it is even possible with the default adaptor.
I do want to intercept the stream, or at least get a look at it, but I don't want to stop the upload. I just want to parse the content on its way to attachment creation.
Does anyone know if this is possible using ERAttachmentFlexibleUpload, or am I better off doing a conventional upload and creating the attachment myself?