Ashley Bone ha scritto:
When wget determines the local filename from Content-Disposition,
the -P (--directory-prefix) is ignored. The file is always
downloaded to the current directory. Looking at
parse_content_disposition(),
I think this may be by design. Does anyone know for sure?
no, it's clearly a bug.
If not, I can submit a patch.
yes, please do it if you can.
--
Aequam memento rebus in arduis servare mentem...
Mauro Tortonesi http://www.tortonesi.com
University of Ferrara - Dept. of Eng. http://www.ing.unife.it
GNU Wget - HTTP/FTP file retrieval tool http://www.gnu.org/software/wget
Deep Space 6 - IPv6 for Linux http://www.deepspace6.net
Ferrara Linux User Group http://www.ferrara.linux.it