Hi,.
I have moved to a new server. The program uploads without problems on the opd one, but not on the new one.
I did not change anything but the name of the host. The old server is Windows 2003, the new one Windows 2012 R2.
Any ideas?
My code looks like this:
These are my logs:
startit 9127a986-5be0-4815-aea7-4af70ec6eb73_s.jpg
*** Here I start the upload of a file. The file exists.
*** This is responseError
Error Internal Server Error
anywheresoftware.b4a.http.HttpClientWrapper$HttpResponeWrapper@4250cc70
startit db.txt
Error Internal Server Error
anywheresoftware.b4a.http.HttpClientWrapper$HttpResponeWrapper@42515118
Sometimes I also get this error:
startit 10491c14-f367-4412-81b7-569d26b204a8_s.jpg
libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
I have moved to a new server. The program uploads without problems on the opd one, but not on the new one.
I did not change anything but the name of the host. The old server is Windows 2003, the new one Windows 2012 R2.
Any ideas?
My code looks like this:
B4X:
inp= File.OpenInput(Main.outdir,fname)
req.InitializePost(Main.hostname & "uploadform.asp", inp, size)
HttpClient1.Execute(req, 1)
...
Sub HttpClient1_ResponseError (Response As HttpResponse, Reason As String, StatusCode As Int, TaskId As Int)
Log("Error " & Reason)
Log (Response)
startit
End Sub
These are my logs:
startit 9127a986-5be0-4815-aea7-4af70ec6eb73_s.jpg
*** Here I start the upload of a file. The file exists.
*** This is responseError
Error Internal Server Error
anywheresoftware.b4a.http.HttpClientWrapper$HttpResponeWrapper@4250cc70
startit db.txt
Error Internal Server Error
anywheresoftware.b4a.http.HttpClientWrapper$HttpResponeWrapper@42515118
Sometimes I also get this error:
startit 10491c14-f367-4412-81b7-569d26b204a8_s.jpg
libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)