Connect with us


How to download directories and subdirectories from an HTTPS server?



How to download directories and subdirectories over an HTTPS server?

Previously, we provided a Python script to download data over an FTP server. This article will use the Linux command to download multiple directories and subdirectories from an HTTPS server.

This is a fast way to download thousands of files and/or directories from an HTTPS server. Here we will use the wget command. Type the following command in the terminal:

$ wget -r --no-parent <url>

For example, if you wish to download all protein structures from the HTTPS server of PDB, then you can use the following command:

$ wget -r --no-parent

It will create directories with the same name as mentioned on the server and then start downloading all files and will take quite less time.


Dr. Muniba is a Bioinformatician based in New Delhi, India. She has completed her PhD in Bioinformatics from South China University of Technology, Guangzhou, China. She has cutting edge knowledge of bioinformatics tools, algorithms, and drug designing. When she is not reading she is found enjoying with the family. Know more about Muniba

Click to comment

You must be logged in to post a comment Login

Leave a Reply