RE: methods for web app to read text file on client's computer?

2015-07-06 Thread Kessler CTR Mark J
Well I use the filereference to select files the user wants to upload using a web app. So I do know the user can select and upload files from user local files. Never tried to read one directly however after the user has selected the files. -Mark -Original Message- From:

Re: methods for web app to read text file on client's computer?

2015-07-04 Thread pkumar.flex
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+s246n1070...@n4.nabble.com wrote: Looking for recommendations to read a text file in Flex web

Re: methods for web app to read text file on client's computer?

2015-07-04 Thread modjklist
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.

Re: methods for web app to read text file on client's computer?

2015-07-03 Thread modjklist
I've been looking into fileReference, for example: fileReference= new FileReference(); fileReference.addEventListener(Event.SELECT, onFileSelected); var txtTypeFilter:FileFilter = new FileFilter( Text Files (*.txt) , *.txt ); fileReference.browse([txtTypeFilter]); Is it

Re: methods for web app to read text file on client's computer?

2015-07-03 Thread OmPrakash Muppirala
You can load and read a file using the Filereference class: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference.html Once the contents of the file are available, there is a pretty good method to read a CSV file described in this stack overflow thread: