Android Question Upload file to webservice using job.posfile (httputils2)


Active Member
Licensed User
I can upload a file using poststring like I explain in .
There I call the webservice using job.poststring + SOAP.

Now I want try with job.postfile without SOAP and using the same webservice (if it's possible)
Sub UploadFile()
  job1.PostFile("",File.DirRootExternal, "Prueba.txt")
End Sub
but I receive Internal Error Server (and the file exits in the dir).
I know that postfile works with php webservice, and I think that the problem is in the webservice.
Have somebody an idea to make the correct webservice with the correct parameters to use postfile?
Is postfile the best way to upload files or its better use the SOAP like the first link?