• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using ERAttachmentFlexibleUpload but also examining file content at upload time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using ERAttachmentFlexibleUpload but also examining file content at upload time


  • Subject: Re: Using ERAttachmentFlexibleUpload but also examining file content at upload time
  • From: Paul Hoadley <email@hidden>
  • Date: Thu, 05 Sep 2013 08:20:56 +0930

Hi Samuel,

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?


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Using ERAttachmentFlexibleUpload but also examining file content at upload time
      • From: Paul Hoadley <email@hidden>
References: 
 >Using ERAttachmentFlexibleUpload but also examining file content at upload time (From: Paul Hoadley <email@hidden>)
 >Re: Using ERAttachmentFlexibleUpload but also examining file content at upload time (From: Samuel Pelletier <email@hidden>)

  • Prev by Date: Re: Problem with Deployment in CentOS - multiple app servers -
  • Next by Date: Re: Problem with Deployment in CentOS - multiple app servers -
  • Previous by thread: Re: Using ERAttachmentFlexibleUpload but also examining file content at upload time
  • Next by thread: Re: Using ERAttachmentFlexibleUpload but also examining file content at upload time
  • Index(es):
    • Date
    • Thread