linux - Download from URL on ssh connection -


i've ssh connection between pc(linux) , server(linux). want download file url inside server. tried command : firefox url , : error: no display specified thank in advance!

if on ssh, use following command-

curl -o http://website/filetodownload.txt or use wget command