You need to publish a folder instead of a file. For example, you can save the file to a folder named:
\PUBLICFOLDER
Then right click on the folder name and publish it as PUBLICFOLDER. You can then use the following URLs to link to the files in the published folder:
https://www.drivehq.com/file/df.aspx/publish/YOUR_USERNAME/PUBLICFOLDER/FILENAME
Please make sure the folder names, file names and publish names don't include any special characters (that cannot be used in a URL).
--------
Alternatively, you can use our Static Web Hosting service. Publish your website, then copy the file to your \wwwhome folder. Your file can be linked at:
https://USERNAME.firstcloudit.com/FILENAME