PDA

View Full Version : Parsing files in response of File Upload



varunjyoti
9 Mar 2012, 1:40 AM
Hi,

I have applied a file upload in Ext Js to upload a file. When the file gets uploaded on the server, i am returned with a file in response. Now, i want to parse the contetnts of the file in ExtJs/Javscript on the client side. How can i do that?

Thanks

mitchellsimoens
9 Mar 2012, 8:27 AM
You should return JSON

arthurakay
9 Mar 2012, 2:57 PM
You should post your code so we can offer specific help. "parse the contents of the file" is pretty generic.

Assuming your callbacks are defined correctly, Regular Expressions might be an option. But again, I don't know what you're trying to do exactly.