I'm trying to download a csv file from mysql server. I'm hosting my server locally (and connecting thru my phone over the cellular network), i do not have a website, only my public IP: port. I'm wondering if there is any limitation on the URL input to Job1.Download?? can i NOT use an IP address?
i'm using the following code with HttpUtils2Service and HttpJob modules:
it errors on req.InitializeGet(Link) within the HttpJob module, although the string is accurate (xx.xx.xx:xxxx/filename.csv). the error is
Illegal character in the scheme at Index 0: (lists the IP string)
thanks in advance!
i'm using the following code with HttpUtils2Service and HttpJob modules:
B4X:
Sub btn_show2DLV_Click
Dim Job1 As HttpJob
Job1.Initialize("Job1", Me)
Job1.Download("<xx.xx.xx.xx:xxxx>/" & spn_mfrs.SelectedItem & ".csv")
End Sub
it errors on req.InitializeGet(Link) within the HttpJob module, although the string is accurate (xx.xx.xx:xxxx/filename.csv). the error is
Illegal character in the scheme at Index 0: (lists the IP string)
B4X:
Public Sub Download(Link As String)
mLink = Link
req.InitializeGet(Link)
CallSubDelayed2(HttpUtils2Service, "SubmitJob", Me)
End Sub