• 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: AW: "Choosing" the WOWorkerThread that executes the request...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: "Choosing" the WOWorkerThread that executes the request...


  • Subject: Re: AW: "Choosing" the WOWorkerThread that executes the request...
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 17 Aug 2005 10:24:56 -0700


On Aug 16, 2005, at 9:03 AM, Helge Staedtler wrote:

This may be the case. I have bound following bindings for my fileupload:

--- HTML ---
<WEBOBJECT NAME=Upload1></WEBOBJECT>

--- WOD ---
Upload1: WOFileUpload {
    filePath = currentResource.fileNameFromUploadingClient;
    size = "20";
    name = currentResource.uniqueId;
    outputStream = currentResource.os;
    bufferSize = 32;
}

In my java code i then have a look at the WOMultipartIterator
which comes in
during takeValuesFromRequest. I then do some checking about the
contentLengthRemaining.

I think that doing this requires it to load in everything and thus deactivates the streaming function. I can't find the docs on this but I have some vague memory of needing to be careful about what you do while streaming. Try removing this and see if it starts to stream.

Chuck


--- JAVA ---
contentLengthRemaining = mpi.contentLengthRemaining()

Do you think there is something essential missing? Even if I upload e.g. 60
MB of data, my progess is starting to show up after 30 seconds or so on a
LAN; then already 3 MB are there and the progress is so fast it gets
finished in 5 more seconds. This cannnot be possible if it would stream
continually.


The documentation says the adaptor will turn the upload into "real"
streaming starting at 1MB uploadsize, so...

Regards,
Helge




Am 16.08.2005 1:56 Uhr schrieb "Chuck Hill" unter <email@hidden>:


It works in deployment for me.  Are you sure you have the
WOFileUpload bindings set correctly for streaming?

Chuck


-- Helge Städtler

- Expect and Respect.





--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________ 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
References: 
 >AW: "Choosing" the WOWorkerThread that executes the request... (From: Helge Staedtler <email@hidden>)

  • Prev by Date: Re: "Choosing" the WOWorkerThread that executes the request...
  • Next by Date: [Newbie] -> how to reference static files (css, images, etc)?
  • Previous by thread: AW: "Choosing" the WOWorkerThread that executes the request...
  • Next by thread: Re: "Choosing" the WOWorkerThread that executes the request...
  • Index(es):
    • Date
    • Thread