Results 1 to 3 of 3

Thread: Parsing files in response of File Upload

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    60
    Vote Rating
    0
      0  

    Default Parsing files in response of File Upload

    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

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,381
    Answers
    3997
    Vote Rating
    1536
      0  

    Default

    You should return JSON
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha Developer
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,516
    Answers
    99
    Vote Rating
    1593
      1  

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •