Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

wget ".listing: No such file or directory"

Tags:

wget

host

ftp

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!

like image 584
luqita Avatar asked Apr 13 '11 06:04

luqita


1 Answers

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.

like image 184
gdw2 Avatar answered Oct 22 '22 05:10

gdw2