0

I am trying to use wget to download files from a database through a website. The provider is now only providing web access to what was previously an ftp server that I could easily use wget to download any files I wanted.

I am having trouble understanding how to do this with wget; I am attempting to recursively download these files from various directories at level 3 with the command

wget -nd -nc -nH -r -np -A .tar.gz "https://ftp.website.org/pub/current/" --spider -l3 -e robots=off

I tried adding options such as --convert-links etc but all I obtain is index.html.tmp. If someone has experience with this I would appreciate any assistance! Thank you.

1 Answer 1

0

you can like this

wget -r -l3 -np -nc -nH -A.tar.gz "https://ftp.website.org/pub/current/" -P /home/user/folder/

You may also include the option --no-check-certificate if the website you're trying to download from has SSL certificate issues, which will allow you to bypass the SSL certificate check.

1
  • Hi, yes, I tried that too but did not work. I emailed the provider but they did not answer at least not yet.
    – BashN3wb
    Commented Jan 17, 2023 at 23:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .