2

I'm trying to download some files that I assume are in a read-protected directory as pointing wget to that directory or accessing it through the browser returns a 403 error. I can however access individual files within the directory both from wget and the browser. My question is if there are any ways to download all the files from that directory? I would usually do this by passing the -r -np options to wget along with that directory, but as stated that returns a 403 error.

1
  • @heynnema: I would say that qualifies as an answer.
    – Fabby
    Aug 23, 2017 at 11:32

1 Answer 1

2

The 403 error means you don't have permission to read at the directory level, only the file level. If this is a git or ppa, they usually provide a download link for all of the files... check the web site.

1
  • Hmm. While this isn't the case with my situation this is the best answer in the general case. Thank you!
    – McLemore
    Aug 23, 2017 at 15:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.