Flex 1.5 does not natively support file upload, but there are 
workarounds for Internet Explorer.  See:

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19382

IE is the only browser that allows the FileInput object's click 
event to be fired from script, so the technique absolutely will not 
work with other browsers.

Another option is to link your Flex app to a Flash 8 swf that 
handles file uploads:

http://www.macromedia.com/devnet/flex/articles/fp8_features.html

I have seen other other approaches to file upload in Flex 1.5, but I 
think these are the most promising.

I believe Flex 2.0 has full support for file upload.


Doug

--- In [email protected], Tom Fitzpatrick <[EMAIL PROTECTED]> wrote:
>
> I'm working with some back-end programmers who asked the following 
question:
> 
> We are using a data load process which will take (workspace, 
filename, 
> type) arguments as inputs to the process, and we need to enable 
the user to 
> select a file and submit it to the server and then trigger the 
load 
> process.  Can we access a local file and transmit it to a 
specified 
> location on the server (i.e. c:\clients\<specific client> ) from 
within 
> Flex?  Do we need to have Flex link to a JSP page to enable this 
> functionality?
> 
> Is there a simple answer to this question? We're working on Flex 
1.5 with 
> Tomcat running on a remote server.
> 
> Does Flex 2 offer any advantages in this situation?
> 
> - Tom
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to