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

--
Chris Hills                       | Tel: +44 (0)1527 572754
IT Services                       | Fax: +44 (0)1527 572901
North East Worcestershire College | Web: http://www.ne-worcs.ac.uk/

Reply via email to