I'm able to download the file successfully using the following curl command.
curl -u user:pass -k "https://website.com/remote/path/remotefile.zip" -o /local/path/file.zip
Ideally, I'd like to automate this by getting the latest file programmatically. It's possible for more than one file to be uploaded per day. Each file's name is prefixed with a timestamp and there are multiple files within the directory.
Example of directory contents and filenames:
20191102230243952_Appended-Constant_Filename.zip
20191103040135476_Appended-Constant_Filename.zip
20191103100132360_Appended-Constant_Filename.zip
Update from @FedonKadifeli's comment. If a request is made to the directory containing the files, the HTML output listing the files is returned.
curl -u user:pass -k "https://website.com/remote/path"
HTML Output
[...]
<table>
<tr>
<td align="left">
<a href="/remote/path/20191102230243952_Appended-Constant_Filename.zip"><tt>20191102230243952_Appended-Constant_Filename.zip</tt></a>
</td>
<td align="right"><tt>66.6 kb</tt></td>
<td align="right"><tt>Sun, 03 Nov 2019 06:02:44 GMT</tt></td>
</tr>
<tr bgcolor="#eeeeee">
<td align="left">
<a href="/remote/path/20191103040135476_Appended-Constant_Filename.zip"><tt>20191103040135476_Appended-Constant_Filename.zip</tt></a>
</td>
<td align="right"><tt>66.6 kb</tt></td>
<td align="right"><tt>Sun, 03 Nov 2019 12:01:35 GMT</tt></td>
</tr>
<tr>
<td align="left">
<a href="/remote/path/20191103100132360_Appended-Constant_Filename.zip"><tt>20191103100132360_Appended-Constant_Filename.zip</tt></a>
</td>
<td align="right"><tt>66.5 kb</tt></td>
<td align="right"><tt>Sun, 03 Nov 2019 18:01:32 GMT</tt></td>
</tr>
</table>
[...]