iOS Question Download huge files with HttpUtils2

Discussion in 'iOS Questions' started by Binary Soft, Apr 15, 2019.

Thread Status:
Not open for further replies.
  1. Binary Soft

    Binary Soft Member Licensed User

    Hello,

    I want to download huge file to my phone.
    For android, I use this example in my b4a project.

    But for iOS, CountingOutputStream and PhoneWakeState are not available for b4i project.

    Is there any idea for huge file download in B4I project?

    I need progress (downloaded %) during downloading file.

    I also use this example, download is successful. but download process is not shown.

    Thanks.

    Code:
    Sub Process_Globals
        
    Private jobs As Map
        
    Private timer1 As Timer
        
    Type DownloadData (url As String, Target As Object, EventName As String)
        
    Type JobTag (Data As DownloadData,  _
            CountingStream 
    As CountingOutputStream, Total As Long)
        
    Private pw As PhoneWakeState
    End Sub
     
    Last edited: Apr 15, 2019
  2. Erel

    Erel Administrator Staff Member Licensed User

    Binary Soft likes this.
Thread Status:
Not open for further replies.
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