Hybrid View

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Location
    Chennai, India
    Posts
    71
    Answers
    7
    Vote Rating
    2
    a.premkumar is on a distinguished road

      1  

    Default Answered: Is there a way to implement File Handling in ExtJS 4.1.2?

    Answered: Is there a way to implement File Handling in ExtJS 4.1.2?


    Hi All,

    I am wondering if there is any mechanism to handle files in ExtJS. I am thinking of read/write/update a text/xml/json file through ExtJS. Please help me on this prespect.

    Regards,
    Premkumar. A

  2. You can only do the file handling on your server side not on client side.

  3. #2
    Sencha - Community Support Team
    Join Date
    Jan 2012
    Posts
    1,376
    Answers
    346
    Vote Rating
    113
    vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all

      1  

    Default


    You can only do the file handling on your server side not on client side.

  4. #3
    Sencha User
    Join Date
    Mar 2012
    Location
    Chennai, India
    Posts
    71
    Answers
    7
    Vote Rating
    2
    a.premkumar is on a distinguished road

      0  

    Default


    Thank you vietits.

  5. #4
    Ext JS Premium Member
    Join Date
    May 2011
    Posts
    1
    Vote Rating
    1
    senmao is on a distinguished road

      1  

    Default


    To save file on client side:
    for non-IE browser, you can use document.location='data:application/octet-stream;base64,SGVsbG8=
    for IE, you can use
    document.execCommand('save', null, 'name')

  6. #5
    Sencha User
    Join Date
    Mar 2012
    Location
    Chennai, India
    Posts
    71
    Answers
    7
    Vote Rating
    2
    a.premkumar is on a distinguished road

      0  

    Default


    Thanks senmao. But I want the file to be present forever. The file, once it was created may be edited and updated but not deleted. It must not be removed at any cost. If I choose to save the file at client side, I could not relay on its presence. Thus I need to take it to the server. But your information is good thus I could use it in some other situation.

Thread Participants: 2

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi