I don't know if this should be on here or on a different SE site.
I am working on a program, and to check for updates it downloads a file using URLDownloadToFile(). The file contains a number indicating the most recent version, and it is compared to a hard-coded value in the program (changing with each new version). So I've tried a few file-hosting sites.
MediaFire: The link takes you to a MediaFire page, and if you copy the address associated with the download button it takes you to the same page again (and somehow downloads the file without the user seeing any filenames).
Dropbox: The same problem occurs - there is no direct download link.
Google Drive: There is a download link, however URLDownloadToFile() does not accept it and nothing is downloaded.
Does anyone know of a file-hosting site that:
- Is free
- Has a direct download link
- Can modify files (I don't mind if the URL changes as I can use the tiny.cc shortener which allows you to edit target URLs)