- Home /
Download pdf file form url and saving in the specific folder in the mobile.
I had implemented using "Application.openurl()" and it automatically downloading .pdf file, but it is redirecting to browser. which shouldn't happen. My scenario is, downloading pdf file and save in specific folder or in downloads folder in mobile with out opening browser. I haven't find any solution from google . Is there anyway to do it?
Answer by sacredgeometry · Dec 07, 2020 at 09:17 AM
This would probably be the easiest way:
https://docs.microsoft.com/en-us/dotnet/api/system.net.webclient.downloadfile?view=net-5.0
Answer by teli-unity · 3 days ago
I wrote some library functions for downloading Text(JSON), Audio, or PDF here with the prefix "Web"
Your answer
Follow this Question
Related Questions
Call JS function from Unity Script,How to call a JS Function from a Unity Script? 0 Answers
using WWW to download image from web. Not working on my own website, but does from other urls 2 Answers
Issues Activating/Deactivating User Interface Objects Unity 5 RC1. 1 Answer
Resource load default unity sprite? 1 Answer