i think this should work [snip] --http-user=user --http-passwd=password Specify the username user and password password on an HTTP server. According to the type of the challenge, Wget will encode them using either the "basic" (insecure) or the "digest" authentication scheme. Another way to specify username and password is in the URL itself. Either method reveals your password to anyone who bothers to run "ps". To prevent the passwords from being seen, store them in .wgetrc or .netrc, and make sure to protect those files from other users with "chmod". If the passwords are really important, do not leave them lying in those files either---edit the files and delete them after Wget has started the download. For more information about security issues with Wget, [/snip] cheers -Z On Thu, 2003-10-09 at 05:49, Damian Buckley wrote:
Hi, I want to use wget to download the entire contents of one of our servers. Only problem is, I have disabled the anonymous function of ftp for security reasons and now don't know the correct syntax for ftping using wget which includes my username and password. Does anybody know how to insert my username and password into the wget command line to enable me to do this from crontab???
I can't find any information in the wget man file.
Thanx
Damian