Brad Wardman wrote:
I am specifying where to download the files to using the -P param,
however, some files are downloading to the root dir (on a completely
different path) of the script that called the wget.
How do I stop this from happening? Can anyone help?
Are you using --content-disposition? I wouldn't necessarily be surprised
if that was being sent to the wrong place; but other files really ought
to go under -P. If you can provide more details on the files that are
going to the wrong place, and where they're being found on the web
(--debug will tell you where it finds each link from, I think), that'd
be helpful.