iOS Question WebServer to Upload File to IOS device

Discussion in 'iOS Questions' started by tuhatinhvn, Aug 21, 2019.

  1. tuhatinhvn

    tuhatinhvn Active Member Licensed User

    IOS is more difficult than Android because it is more difficult to copy file to it!
    So many apps use WebServer to copy file.
    In Android has Jserver can works well, but in IOS current dont have WebServer to upload files or view html file static.
    Has some library to work (include mjpeg server on b4i), so i think some one know at HTTP can modified code of https://www.b4x.com/android/forum/threads/mjpeg-cctv-server.73821/ to can view html files static and upload file to IOS app.

    Thank you!

    https://github.com/swisspol/GCDWebServer
    https://www.b4x.com/android/forum/threads/mjpeg-cctv-server.73821/
     
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. tuhatinhvn

    tuhatinhvn Active Member Licensed User

  4. Erel

    Erel Administrator Staff Member Licensed User

    No, it is not possible. You should use a FTP client to transfer the files.
     
  5. tuhatinhvn

    tuhatinhvn Active Member Licensed User

    If my client want to copy files to my app via FTP but they are using Windows or Mac, can they using web browser to upload ?? thank you
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    At least on Windows it is possible to use the standard File Explorer. This is exactly how this feature works:

    [​IMG]

    Most browsers also support FTP connections with the ftp scheme: ftp://192.168.0.115:6781/
     
    tuhatinhvn likes this.
  7. Semen Matusovskiy

    Semen Matusovskiy Well-Known Member Licensed User

    I converted Android app to IOS app and did not notice any difference - the same Http/HttpUtils2

    My app uploads to webserver and downloads from it using https only.
    Of course, on webserver should be special scripts to upload files.
     
  8. Erel

    Erel Administrator Staff Member Licensed User

    The OP wants to send files from the browser to the B4i app.
     
  9. Semen Matusovskiy

    Semen Matusovskiy Well-Known Member Licensed User

  10. Erel

    Erel Administrator Staff Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice