replace busybox wget with wget

March 17th, 2011 - 07:55 am ET by pkumar | Report spam
Hello,

hi all
I want to use wget insted of Busybox wget(v1.16.1).
In my application I want to use wget -nc option in order to resume download and prevent it from redownloading the file which are previously downloaded. My current busybox version doesnt support to this option.

Can somebody help me.
email Follow the discussionReplies 12 repliesReplies Make a reply

Replies

#1 jack
March 17th, 2011 - 11:00 am ET | Report spam
pkumar wrote:
Hello,

hi all
I want to use wget insted of Busybox wget(v1.16.1).
In my application I want to use wget -nc option in order to resume download
and
prevent it from redownloading the file which are previously downloaded. My
current busybox version doesnt support to this option.

Can somebody help me.



Put a suitable wget executable in /usr/bin (or /usr/local/bin), and use

/usr/bin/wget -nc .

Depending on what the target is, you might have to cross-compile and/or
link statically; for example on the machine I'm typing this on (Ubuntu
8.04LTS) wget pulls in a lot of .so's that might or might not be
available on the target:

$ ldd `which wget`
linux-gate.so.1 => (0xb7728000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb770b000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7702000)
libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb76bc000)
libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb757a000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb742b000)
/lib/ld-linux.so.2 (0xb7729000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7413000)
libz.so.1 => /usr/lib/libz.so.1 (0xb73fe000)
$

-j

Similar topics