Re: WO Long Response and iPhone
Re: WO Long Response and iPhone
- Subject: Re: WO Long Response and iPhone
- From: Joe Moreno <email@hidden>
- Date: Fri, 15 Jan 2010 13:49:47 -0800
Chuck,
I think the "streamToFilePath" binding is what you need to use.
What bindings are you using?
I'm not using a WODynamicElement (i.e. WOFileUpload). This is a direct
action for third party APIs to call so there is no UI. Or, am I
misunderstanding your question?
Thanks,
Joe
On Jan 14, 2010, at 21:47:45, Chuck Hill wrote:
It has been a while since I implemented this. I think the
"streamToFilePath" binding is what you need to use. What bindings
are you using?
Chuck
On Jan 14, 2010, at 8:44 PM, Joe Moreno wrote:
Chuck,
I hadn't considered that. I am using a direct action form post to
handle the upload.
- Joe
On Jan 14, 2010, at 20:40:08, Chuck Hill wrote:
Are you using the streaming handler for uploads? If you are,
there should not be any timeouts from the adaptor. I've seen
uploads of large files over slow connections to GVC.SiteMaker go
on for a very, very long time with no timeout.
Chuck
On Jan 14, 2010, at 8:27 PM, Joe Moreno wrote:
Thanks for the reply.
I wouldn't up the time on the adaptor because other clients who
are using that instance will get blocked and may reach their
timeouts.
In my case, I don't think upping the adaptor timeout will block
since WOAllowsConcurrentRequestHandling is set to true. Does that
sound correct?
On Jan 14, 2010, at 15:57:08, Andrew Lindesay wrote:
Hello Joe;
My LEWOStuff framework (JSON-RPC) has a system whereby a file is
broken up into little chunks and fired into a WOA bit by bit in
sequence into a stream. I haven't explicitly tested this from
iPhoneOS, but it has been used in a production system from MacOS-
X to move video files around. You could build something similar
to this.
I wouldn't up the time on the adaptor because other clients who
are using that instance will get blocked and may reach their
timeouts.
cheers.
Does anyone have a recommendation on how to manage a file
upload from say, an iPhone, to a WO app (direct action) that
takes longer than the WO adaptor time out? Or, should I just
set the WO adaptor timeout to something like five or ten
minutes to handle slow/flaky EDGE connections?
___
Andrew Lindesay
www.lindesay.co.nz
_______________________________________________
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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve
specific problems.
http://www.global-village.net/products/practical_webobjects
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
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