Thanks for your reply Seth!

On 09/12/2008, at 8:19 PM, Seth Hodgson wrote:

If you sent these in a RemoteObject call, that 10MB worth of data would go to the server in the body of a single HTTP POST. No progress events, and depending on the receiving server it may enforce size limits on body content of HTTP requests but they'd likely be higher than 10MB.

Best,
Seth

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer
Sent: Tuesday, December 09, 2008 4:22 AM
To: [email protected]
Subject: [flexcoders] huge AMF messages

Hi all,

I planning to build an AIR application. In this application the user can create libraries that consist of multiple value Entry objects.

Each EntryVO should look like this (there will be more properties of course) :

package vo
{
[RemoteClass(alias="vo.EntryVO")]

import flash.net.registerClassAlias;
import flash.utils.ByteArray;

public class EntryVO
{
[Bindable]
public var image_data:ByteArray;

[Bindable]
public var image_name:String;

public static function register():void
{
registerClassAlias("vo.EntryVO", EntryVO);
}

}

}

To simplify the uploading and downloading process I want to transfer images as ByteArrays to a .NetBackend. My question: What are my limitations here file size wise? Let's say I have 10 EntryVO. An each of these
has an 1 MB byte array embedded.

That
means that my libraryVO (10 x 1 MB EntryVO) would have a file size of 10 MB.

Will this work at all? Is there a progress event for remote operations? I guess it will take a while to transfer
a 10 MB AMF message.

Thanks for any input!

Cheers

Robin




Reply via email to