scp is the best option but if you insist on wget, try this if you have ftp 
access to that machine

wget -r --level=0 -E --ignore-length -x -k -p -erobots=off -np -N 
ftp://xxx.xxx.xxx.xxx/<folder/file>

The breakdown? info wget

On Wed, Oct 21, 2009 at 12:56:24PM +0300, Kyle Spencer wrote:
> Roy,
>
> Try scp.  For info, type "man scp"
>
> See also: ftp, apache (place the file in /var/www/ on the remote machine  
> then wget -cb from your local machine), rsync,  etc.
>
> I prefer the apache/wget -cb method, especially for large files.
>
> -Kyle
>
> roy mukasa wrote:
>> guys i need some help here. ok i use this command to start a download
>> onto a linux machine remotely so the download runs in the background.
>> it also shows me the file it creates for the download files. now the
>> problem i have is that i need the command that will enable me to get
>> the downloaded files off the machine on which the download was taking
>> place. i want to do it in command line. any ideas?
>>
>>   
>
> -- 
> Kyle Spencer,
> Information Technology Manager,
> International Medical Group
>
>
> _______________________________________________
> LUG mailing list
> [email protected]
> http://kym.net/mailman/listinfo/lug
> %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/
>
> The above comments and data are owned by whoever posted them (including 
> attachments if any). The List's Host is not responsible for them in any way.
> ---------------------------------------
>

-- 
Simon Sekidde
gpg: 98A6 8D22 578C FFCE F6F8  FC80 94D4 2451 1E8B 049D
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/

The above comments and data are owned by whoever posted them (including 
attachments if any). The List's Host is not responsible for them in any way.
---------------------------------------

Reply via email to