Just for info., the recent news on the Flash Platform here ..
 
http://www.macromedia.com/platform/whitepapers/platform_overview.pdf
 
mentions file upload and download capabilities within the new Maelstrom
player ...
 
"New file upload and download: Maelstrom supports file upload and download
capabilities, which are under full user control. A Flash application can
request that a file be selected for upload by presenting an Open dialog box
to the user to navigate to a file and select it. Applications can also offer
to download a file by presenting a Save dialog box. This paves the way for a
whole class of RIAs that can intermediate between local content on a user's
machine and the web such as web-based photo management applications that
enable users to upload their photos easily."
 
Regards
Ian
 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Drew Falkman
Sent: 06 June 2005 05:44
To: [email protected]
Subject: RE: [flexcoders] Re: file handling



Makes perfect sense. Thanks.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Abdul Qabiz
Sent: Sunday, June 05, 2005 9:22 PM
To: [email protected]
Subject: RE: [flexcoders] Re: file handling

 

Hi,

I guess, that is possible by setting some HTTP headers from a
server-side script. I guess, Content-Disposition header.

http://www.faqs.org/rfcs/rfc2183


Content-Type -> "audio/x-mpeg"
Content-Disposition -> "attachment"




In PHP, I will do like this:

<?php
      //getsong.php
      header('Content-type: audio/x-mpeg');
      header('Content-Disposition: attachment; filename="song.mp3"');
      
      readfile('song1.mp3');
?> 


You will request the mp3 through the server-side script, it means you
will not use direct url of  mp3 in flex, instead send a query to a
server-side script...


Does it make sense?



-abdul 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of drew_falk
Sent: Monday, June 06, 2005 5:23 AM
To: [email protected]
Subject: [flexcoders] Re: file handling

Sorry for delay on this replay...set the project aside for a bit.

I was actually referring to DOWNLOADING. Currently, if you load an 
MP3, you can play it, but I want to actually prompt the user to save 
the file on their local drive...

Thanks,

Drew

--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> 
wrote:
> Found it. It is under this subject:
>  "Great Abdul   (c++/flex) source  c++  <--> flex "
> Posted around 4/14
> Tracy
> 
> -----Original Message-----
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Tracy Spratt
> Sent: Thursday, May 26, 2005 4:27 PM
> To: [email protected]
> Subject: RE: [flexcoders] file handling
> 
> Short answer: No.
> 
> Long answer:  Client file system access is limited by the security
> sandbox, both at the browser and Flash Player level.
> 
> You can achieve file upload capability using a custom HTML wrapper
> containing custom javascript.  Here's one link, google will find 
more.
> http://www.flexauthority.com/articlesArchive/fileUpload.cfm.
> 
> You can achieve local file access using a C# program with 
javascript and
> Flex.  Davis, I think, posted a solution, but I haven't found it 
yet.
> 
> Tracy
> 
> -----Original Message-----
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Drew Falkman
> Sent: Thursday, May 26, 2005 3:05 PM
> To: [email protected]
> Subject: [flexcoders] file handling
> 
> Is there any moderately simple way to do file handling on the 
client
> (e.g.
> to prompt for a user to save a file, such as an mp3)?
> 
> TIA.
> 
> Drew Falkman
> Veraison, LLC
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links





Yahoo! Groups Links










________________________________

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]
<mailto:[EMAIL PROTECTED]> 
          
*       Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> . 





----------------------------------------------------
This E-mail scanned for viruses by Harlaxton College
----------------------------------------------------



 
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