Thread: strange wget behavior bash script
i created script download iso files.
script:
everytime run script wget starts downloading first iso hangs after downloading 2% (not everytime same amount of bytes).code:#!/bin/bash lynx -dump http://www.mydownloadsite.com/downloads.htm | egrep -o http://www.mydownloadsite.com/images/iso_.*[a-z].iso | xargs -n1 wget -d -p ~/downloads/iso/ -u¨
when use same wget commandline directly, goes fine. checked download in different ways, server sided seems ok.
when running script root, same behavior.
fixed.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] strange wget behavior bash script
Ubuntu
Comments
Post a Comment