I'm trying to download a PDF file from my own server. The call is of the form: http://extrasXXXX.ro/Home/DownloadFile/4bd78c75-126b-466b-bb0c-490c31a1d996
The .NET call returns a PDF file:
How can I download the file?
The .NET call returns a PDF file:
B4X:
public FileResult DownloadFile(string id)
{
.......
return File (content, "application / pdf", "extras.pdf");
}
How can I download the file?