Chris,

I think the problem is you don't have the URL last.  Try this:

wget -x -O images/logo.gif http://www.google.co.uk/intl/en_uk/images/logo.gif

It worked for me.

Frank


Chris Hills wrote:
Hi

Using wget-1.10.2.

Example command:-

$ wget -x http://www.google.co.uk/intl/en_uk/images/logo.gif -O images/logo.gif
images/logo.gif: No such file or directory

wget should created the directory images/.

wget --help shows:-

  -x,  --force-directories        force creation of directories.

This implies that the above behaviour should work.

Even if -x is not appropriate here, wget should still first attempt to create the directory.

Regards

Reply via email to