You can do this with Dropbox by simply changing the 'www' in the URL to 'dl', and removing the same 'dl' parameter at the end of the link. Example:
Original link https://www.dropbox.com/s/xxxxxxxxxx/file.zip?dl=0
Direct download link: https://dl.dropbox.com/s/xxxxxxxxxx/file.zip