Trouble with HTTPUtils

xpert

New Member
Licensed User
Longtime User
Can i can post FILE to webhost?

Sub UpLoad_Up

HttpUtils.CallbackActivity = "Main" 'Current activity name.
HttpUtils.CallbackJobDoneSub = "JobDoneUP"
HttpUtils.PostFile("Job2", "http://192.168.1.22/agents/494",File.DirDefaultExternal,"Zvk.db")
End Sub

Sub JobDoneUP (Job As String)
If HttpUtils.IsSuccess("http://192.168.1.22/agents/494") Then
ResString.Text = "Done!"
End If
End Sub

"http://192.168.1.22/agents/494" - is folder on server.

JobDoneUp report "Done!", but file not exist on server. Why?

With best regards, Dmitry
 

xpert

New Member
Licensed User
Longtime User
Please. Can i see Example of code on B4A and script on server to post file on server?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…