How to download Firefox via command line FTP
You can skip the download step, and mount it directly over the internet like so:

hdiutil attach https://ftp.mozilla.org/pub/firefox/releases/43.0.4/mac/en-US/Firefox\ 43.0.4.dmg


Saves a step, time, and storage space!