Just stuff ...

... and things.

WGET tips

WGET examples I've used ....

The following will get a file called reports.xml from the ftp server "sirjeffssite.co.nz"
Using the user login name "username@mydomain.co.nz" (replace @ with %40)
and the password "mypassword"
and write the file to "/usr/people/sirjeff/report/reports.xml"
If the file exists it will overwite it no questions asked smile

wget -r -nH -P /usr/people/sirjeff/report ftp://username%40mydomain.co.nz:mypassword@sirjeffssite.co.nz/reports.xml



-r = recursive
-nH = no Host (supresses creation of host directory)
-P <path> = path to plop the file

Let the music play, Worry's for another day ...Close Tabs similar to FireFox

Write a comment

New comments have been disabled for this post.