Hi, I need to remove a file on a website without using FTP.
I tried this, and it doesn't give me an error, but it doesn't remove the file.
I saw that it accepts j.Delete, so I think it can be done. If so,
can someone help me?
I tried this, and it doesn't give me an error, but it doesn't remove the file.
B4X:
Public Sub Delete
Dim j As HttpJob
j.Initialize("", Me)
j.Delete("https://www.miosito.it/public/Subfolder/"& Filename)
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
Msgbox ("ok","")
End If
j.Release
End Sub
I saw that it accepts j.Delete, so I think it can be done. If so,
can someone help me?