On Tuesday 29 of November 2016, Lars Viklund wrote:
> Hi,
> For me, both curl 7.47.1 and wget 1.18 retrieve the indicated link, curl
> needs -L to follow the redirects.
> Using a browser sends user to download page.

lftp doesn't follow http redirect in such case:

lftp -c 'set ssl:verify-certificate no; set net:max-retries 3; set 
http:user-agent "PLD/Builder(v0.35)"; pget -n 10 -c 
"https://lftp.yar.ru/ftp/lftp-4.7.4.tar.xz"; -o "lftp-4.7.4.tar.xz.tmp"'

html page gets stored

lftp 4.7.3
-- 
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
_______________________________________________
lftp-devel mailing list
lftp-devel@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp-devel

Reply via email to