RE: [flexcoders] Download physical file with URLLoader

2008-02-21 Thread Lee Evans
There is a sample Flex App called FileIO that demonstrates downloading
and uploading files at 

 

http://www.adobe.com/support/documentation/en/flex/#content

 

It is part of the .zip download under Actionscript 3.0 examples

 

Lee

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Fidel Viegas
Sent: Wednesday, February 20, 2008 4:31 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Download physical file with URLLoader

 

Have a look at flash.net.FileReference

that has a download method. That is what you should use to download or
upload files.

Fidel.

On Wed, Feb 20, 2008 at 5:23 PM, Eric Cobb [EMAIL PROTECTED]
mailto:flexcoders%40ecartech.com  wrote:






 I'm trying to figure out a way to connect to a remote URL, and
download
 a file from that URL. I'm already using URLLoader to connect to the
URL
 and read an XML file, would I use URLLoader for this as well? I want
my
 Flex 3 /AIR app to be able to hit this URL and download a .db file for
 updates.

 What's the best way to go about this?

 Thanks!

 Eric

 

 



[flexcoders] Download physical file with URLLoader

2008-02-20 Thread Eric Cobb
I'm trying to figure out a way to connect to a remote URL, and download 
a file from that URL.  I'm already using URLLoader to connect to the URL 
and read an XML file, would I use URLLoader for this as well?  I want my 
Flex 3 /AIR app to be able to hit this URL and download a .db file for 
updates.

What's the best way to go about this?

Thanks!

Eric



Re: [flexcoders] Download physical file with URLLoader

2008-02-20 Thread Fidel Viegas
Have a look at flash.net.FileReference

that has a download method. That is what you should use to download or
upload files.

Fidel.

On Wed, Feb 20, 2008 at 5:23 PM, Eric Cobb [EMAIL PROTECTED] wrote:






 I'm trying to figure out a way to connect to a remote URL, and download
  a file from that URL. I'm already using URLLoader to connect to the URL
  and read an XML file, would I use URLLoader for this as well? I want my
  Flex 3 /AIR app to be able to hit this URL and download a .db file for
  updates.

  What's the best way to go about this?

  Thanks!

  Eric