flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From modjkl...@comcast.net
Subject Re: methods for web app to read text file on client's computer?
Date Sat, 04 Jul 2015 13:54:16 GMT
Correct me if I'm wrong, but these functions by default can only read client files if the swf
runs locally on their computer. If I'm making a web app running in a browser, the sandbox
prevents accessing client file contents. I'm thinking only AIR allows permissions for reading
client files. 


I prefer to integrate the file reading/processing into my existing web app, rather than give
the customer a 2nd application to use (e.g. AIR). But I don't see a way around this. Can anyone
comment if I missed something? 

----- Original Message -----

From: "pkumar.flex" <prashakumar@gmail.com> 
To: users@flex.apache.org 
Sent: Friday, July 3, 2015 9:35:55 PM 
Subject: Re: methods for web app to read text file on client's computer? 

check for URLLoader & FileReference for file reading from client computer. 
CSV parsing code , you can search on google. 

On Sat, Jul 4, 2015 at 3:26 AM, modjklist [via Apache Flex Users] < 
ml-node+s2333346n10704h9@n4.nabble.com> wrote: 

> Looking for recommendations to read a text file in Flex web app (not AIR). 
> Does a web app even have permission to read a text file located on the 
> client's computer? 
> Text file is comma-separated data arranged in columns. The total number of 
> lines isn't known ahead of time. 
> Ideally I'd like to read the file line by line (each line ending with a \n 
> character), the split the line based on the comma character to identify and 
> process individual elements. 
> ------------------------------ 
> If you reply to this email, your message will be added to the discussion 
> below: 
> http://apache-flex-users.2333346.n4.nabble.com/methods-for-web-app-to-read-text-file-on-client-s-computer-tp10704.html

> To unsubscribe from Apache Flex Users, click here 
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>

> . 
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>


Prashant Kumar* | *Mob.: +91 8408811225 

View this message in context: http://apache-flex-users.2333346.n4.nabble.com/methods-for-web-app-to-read-text-file-on-client-s-computer-tp10704p10708.html

Sent from the Apache Flex Users mailing list archive at Nabble.com. 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message