wget ".listing: No such file or directory"
14,004
I recently got a No such file or directory
error regarding the .listing
file (similar to yours) and it turned out that the directory in which I was running wget
was not writable.
Related videos on Youtube
Author by
luqita
Updated on June 04, 2022Comments
-
luqita almost 2 years
I am trying to transfer a directory of one server to another (something I did two weeks ago) but now I am not sure why this is not working. I am using:
wget -nc -r ftp://user:password@host/directory/directory/
and then getting this:
Logging in as 'user'... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /directory/directory/directory ... done. ==> PASV ... done. ==> LIST ... done. host/dir/dir/dir: No such file or directoryhost/dir/dir/dir/.listing: No such file or directory unlink: no such file or directory
What's going on?
Thanks for any help!
-
gbmhunter about 5 yearsThis solved my problem too (had to add
sudo
), this is such an unorthodox error to see when the destination directory is not writable. -
Reece over 3 yearsVery useful. Just saved me hours. Thanks.