Another possibility, if using the -o
(output file) option - the destination directory does not exist.
eg. if you have -o /tmp/download/abc.txt
and /tmp/download does not exist.
Hence, ensure any required directories are created/exist beforehand, use the --create-dirs
option as well as -o
if necessary