Primeiro você deve citar o URL:
wget --no-check-certificate --user usr --password pswd \
'http://vision.imar.ro/human3.6m/filebrowser.php?download=1&filepath=Videos&filename=ActivitySpecific_1.tgz&downloadname=Directions'
Caso contrário, tudo após o primeiro &
é cortado pelo shell, e você também verá isso:
[1] 20618
[2] 20619
[1]- Done filepath=Videos
$
[2]+ Done filename=ActivitySpecific_1.tgz
Em segundo lugar, o arquivo pequeno foi provavelmente isso.
As opções --user
e --password
geralmente não funcionam. Para logins baseados em cookies, você precisa fazer algo assim (Adaptado de info at man wget
, /
, --post
):
wget --no-check-certificate --keep-session-cookies --save-cookies cookies.txt \
--post-data 'username=foo&password=bar' \
'https://vision.imar.ro/human3.6m/checklogin.php'
# Now grab the page or pages we care about.
wget --no-check-certificate --load-cookies cookies.txt \
'https://vision.imar.ro/human3.6m/filebrowser.php?download=1&filepath=Videos&filename=ActivitySpecific_1.tgz&downloadname=Directions'