SoloCDM stated the following: > > Rick Chavez stated the following: > > > > What is my problem? > > Im trying to put my output into a dir: > > ~/test/ > > I type > > wget -P/test -nH --cut-dirs=3 -r -l 2 > > ftp://tgftp.nws.noaa.gov/data/forecasts/city/ > > > > but, I get > > > > --15:51:40-- ftp://tgftp.nws.noaa.gov:21/data/forecasts/city/ > > => `/test/.listing' > > Connecting to tgftp.nws.noaa.gov:21... connected! > > Logging in as anonymous ... Logged in! > > ==> TYPE I ... done. ==> CWD data/forecasts/city ... done. > > ==> PORT ... done. ==> LIST ... done. > > /test: Permission denied/test/.listing: No such file or directory > > Not having the right permissions on ~/test may be the source of your > problem.
I also noticed that you are not using the tilde with the -P option, which would cause -P to look for the directory in the root directory. > > unlink: No such file or directory > > --15:51:40-- ftp://tgftp.nws.noaa.gov:21/data/forecasts/city/ > > => `/test/index.html' > > Connecting to tgftp.nws.noaa.gov:21... connected! > > Logging in as anonymous ... Logged in! > > ==> TYPE I ... done. ==> CWD data/forecasts/city ... done. > > ==> PORT ... done. ==> RETR ... > > No such file `'. -- Note: When you reply to this message, please include the mailing list/newsgroup address and my email address in To:. ********************************************************************* Signed, SoloCDM
