1. #1
    Ext JS Premium Member
    Join Date
    Jan 2010
    Posts
    9
    Vote Rating
    0
    napierski is on a distinguished road

      0  

    Default File Upload

    File Upload


    How can I realize a file upload form with sencha touch.
    inputType: 'file' does not work well.
    The form does not submit the file to the server.

    Thanks Ralf

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,833
    Vote Rating
    609
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Ext JS Premium Member
    Join Date
    Jan 2010
    Posts
    9
    Vote Rating
    0
    napierski is on a distinguished road

      0  

    Default


    File Upload on Safari with HTML5 and JS:
    http://www.3site.eu/jstests/upload/

    Ralf

  4. #4
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,501
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Sencha Touch implies mobile devices. iPad and iPhone cannot upload.

    Obviously it works from browsers on desktops.

    And if you are using Sencha Touch on a desktop, then first, Why? But second, the file upload problem is your own. File uploads are not regular HTTP params, as the API docs remind you!

  5. #5
    Ext JS Premium Member
    Join Date
    Jan 2010
    Posts
    9
    Vote Rating
    0
    napierski is on a distinguished road

      0  

    Default


    Thank you.
    I am using a safari desktop browser for testing. We want do develop mobile apps with sencha touch for our B2B solution.
    We need file-upload for this application.
    I understand, that Apple wants to sell Apps. So HTML5 on iPad and iPhone is limited.

    Ralf

  6. #6
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,833
    Vote Rating
    609
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Just do a normal form post then, using the standardSubmit option on the form.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  7. #7
    Ext JS Premium Member
    Join Date
    Jan 2010
    Posts
    9
    Vote Rating
    0
    napierski is on a distinguished road

      0  

    Default


    Thank you,

    it works. (On my desktop Safari)
    But, as I understand, it would not work on an iPhone or iPad?

    Ralf

  8. #8
    Ext JS Premium Member
    Join Date
    Jan 2010
    Posts
    9
    Vote Rating
    0
    napierski is on a distinguished road

      0  

    Default InputType

    InputType


    Where is InputType for fields in touch 2 gone?
    HTML5 file upload works now fine - even for new iphones.

Similar Threads

  1. Saki - File upload - Doesn't give an absolute path of a file in FF
    By amodg in forum Ext 3.x: Help & Discussion
    Replies: 12
    Last Post: 4 Apr 2010, 9:02 PM
  2. file upload should happen on selecting a file
    By avilanchee in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 4 Nov 2009, 2:15 AM
  3. Replies: 2
    Last Post: 23 Aug 2009, 6:18 PM
  4. can't upload single file by intput:file
    By nileshpatil in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 17 Sep 2008, 1:55 AM
  5. file upload file in an ext.window
    By anitsirc in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 10 Sep 2008, 1:12 PM

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