Getting 404 – File or directory not found when downloading a file

  download, iis, laravel

I have hosted a web API which written in laravel on the IIS server. There is one "versionUpgrate" API where the app asks the server to send the link to an apk file to download if there is any version is out.
"
But when I execute the below URL in the browser, I am getting "404 – File or directory not found". I am expecting the file should get downloaded here.

https://xxxx.xxxx/apk/beta_4_22_2.apk

Don’t know what is blocking it here?

Source: Laravel

Leave a Reply