If you know they're going to be small files, and you need to do it through
soap, you could probably do a normal upload to a cache on your server,
re-download the file (so your flex app knows about it), and then encode it
as part of your soap request. Awfully inefficient, and may require
monkeypatching or subclassing mx:webservice or SOAPEncoder, but probably
doable if it's a requirement.

Or perhaps a custom server-side proxy that takes a file and a POST form and
forwards a SOAP request on your behalf, proxying the result for you. Also a
bit of a pain :)

-Josh

On Wed, Jun 4, 2008 at 2:00 PM, Samuel Neff <[EMAIL PROTECTED]> wrote:

>   Not with Flash Player 9.  I believe they've announced enhanced file
> functionality in FP10 that would include this functionality (although you
> might have to do more of the plumbing stuff yourself--reading the file to
> memory and packaging it into a WS call).
>
> HTH,
>
> Sam
>
>
>
> On Tue, Jun 3, 2008 at 9:15 PM, flexawesome <[EMAIL PROTECTED]> wrote:
>
>> Hey there,
>>
>> I know Flex supprts file upload by using fileReference with .NET ,
>> PHP... . My question is, can I use web service with Flex to upload
>> files?
>>
>> Thanks
>>
>>
>
> --
> -----------------------------------------------------------------
> We're Hiring! Seeking passionate Flex, C#, or C++ (RTSP, H264) developer.
> Position is in the Washington D.C. metro area. Contact
> [EMAIL PROTECTED]
> 
>



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to