RE: [flexcoders] Read Local File

2006-06-30 Thread Jason Hawryluk





This 
is not possible due to browser security restrictions. You will have to ask the 
client to upload to the server, pass the data back to the client, modif, and 
send back to server. On the server side you will have to accept the down load, 
parse, and have the client the poll the server till the file is ready to get 
back to the client.

Hope 
this helps

Jason




  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Torey MaerzEnvoyé: vendredi 30 juin 2006 
  15:35À: flexcoders@yahoogroups.comObjet: 
  [flexcoders] Read Local File
  
  I would like to create a flex application (hosted on the internet) that 
  could read in a client's local file, parse that file and then display 
  in a datagrid for manipulation and eventually posting the data to my 
  server. My problem is on the reading of the local file piece. It seems 
  that the only way that I can do this is to have the swf running on the 
  client's machine. That is not an option so I have been in the search for 
  finding a solution that would allow me to sign my swf or something similar 
  so that it could be trusted on the client's machine and allow the user to 
  parse their local file.So what can I do to give my internet based 
  application read access on the client's machine?Thanks in 
  advance!-Torey 
  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] Read Local File

2006-06-30 Thread Darron J. Schall






Torey Maerz wrote:


  
  So what can I do to give my internet based application read access
on 
the client's machine?
  
  
  
   
  



You'll need to have the user upload the file to your server. When the
upload is complete you'll then need to download the file from the
server into the Flex application (check out the FileReference class for
upload, and URLLoader to pull data in from a specific URL). You'll
probably want to run a clean-up script on the server then to delete the
user's file after it's been downloaded by the Flex app.

-d

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___




RE: [flexcoders] Read Local File

2006-06-30 Thread Andrew Trice












Unfortunately, Flex doesnt work the
way you want b/c of security implications. You can do this by having the user
upload the file to the server. Once the file is uploaded, parse it and then pull
the data back down to the client and use it.



-Andy





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Torey Maerz
Sent: Friday, June 30, 2006 9:35
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Read Local
File











I would like to create a flex application (hosted on
the internet) that 
could read in a client's local file, parse that file and then display 
in a datagrid for manipulation and eventually posting the data to my 
server. My problem is on the reading of the local file piece. It 
seems that the only way that I can do this is to have the swf running 
on the client's machine. That is not an option so I have been in the 
search for finding a solution that would allow me to sign my swf or 
something similar so that it could be trusted on the client's machine 
and allow the user to parse their local file.

So what can I do to give my internet based application read access on 
the client's machine?

Thanks in advance!

-Torey 






__._,_.___





--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___