'Is it possible to get folder names from a root URL using vb.net

Say I have a root URL https://google.com/Files I have 2 folders Temp1 and Temp2 under it (which can be accessed using https://google.com/Files/Temp1 and https://google.com/Files/Temp2. NOTE: I do not want to access them in this way)

How can I get the file path dynamically for these 2 folders using just the root URL? The folders might increase as and when required.

I had tried using GetDirectories method but realized it wont work on URLs.

Any leads will be appreciated, thanks!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source