lftp
my lftp tips and tricks
lftp and cookies
lftp and cookies
firefox stores cookies in user profile
%APPDATA%\Mozilla\Firefox\Profiles\
Helps to have Export cookies extension loaded into FireFox
https://addons.mozilla.org/en-US/firefox/addon/cookie-exporter/?src=api
Put either the cookies.txt or cookies.sqlite into ~/.mozilla and use the lftp provided conversion script. this will convert into lftp set commands which will be executed in the startup script.
/usr/share/lftp/convert-mozilla-cookies > ~/.lftp rc