> No, currently there's no support for binary files. I haven't
> really figured out how to get it to work-since the serialization
> all occurs on the client side before the form is actually
> submitted. I've played around with it, but have yet to come
> up with a solution. (My hunch is, even though WDDX supports
> binary files in the current rev, trying to store files within
> the packet is going to be a no-no.)
You're not going to be able to take the data from a file upload field and
serialize it in JavaScript, simply because you don't have very much
programmatic access to the file upload field for security reasons, and the
browser doesn't do anything with the file until the form is submitted. In
any case, if the file were of any size, and you were able to grab it on the
client, convert it to base 64 text, and serialize it, you might break the
form submission, because it uses a separate MIME part to segregate the
uploaded file data, encoded in base 64, from the other form field stuff.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.