andyhill Posted November 28, 2017 Share Posted November 28, 2017 I am using:- UniSession.SendFile(sFileName, ExtractFileName(sFileName)); To download jpg files and it works fine on Desktop HOWEVER it does not work on iPhones. I know iPhones control all downloads but pdf's can be easily downloaded from websites ? Please advise how - thanks. Link to comment Share on other sites More sharing options...
skafy Posted January 17, 2018 Share Posted January 17, 2018 Any update on this? Link to comment Share on other sites More sharing options...
PALF Posted January 9, 2021 Share Posted January 9, 2021 Hello: I have the same problem. I can't download a pdf on Iphone, while on android and desktop it downloads fine. I try UniSession.SendFile(UniServerModule.FilesFolderPath+ 'Planos.pdf'); Obviously, the file exists in the folder. Any solution for this ?? Best regards, Link to comment Share on other sites More sharing options...
x11 Posted January 9, 2021 Share Posted January 9, 2021 \Demos\Desktop\SendFile Link to comment Share on other sites More sharing options...
55143681 Posted January 10, 2021 Share Posted January 10, 2021 15 hours ago, PALF said: Hello: I have the same problem. I can't download a pdf on Iphone, while on android and desktop it downloads fine. I try UniSession.SendFile(UniServerModule.FilesFolderPath+ 'Planos.pdf'); Obviously, the file exists in the folder. Any solution for this ?? Best regards, Maybe you shoule add the file type to MIMI table. MimeTable.AddMimeType('fr3', 'application/octet-stream', False); Link to comment Share on other sites More sharing options...
Recommended Posts