Q:

checking a url with a wild card in c#

I want to check a complicated url allowing for some type of wild card if possible. 
url could be
https://bliss-box.net/wp-content/uploads/someyear/some month/4-play_GP_3.0_020.zip"
I'm using this but not sure how to predict or guess the two folders it would be in.
try
            {
                WebRequest req = WebRequest.Create("https://bliss-box.net/wp-content/uploads/2020/02/4-play_GP_3.0_020.zip");

                WebResponse res = req.GetResponse();

                MessageBox.Show("Url Exists");
            }
            catch (WebException ex)
            {
                MessageBox.Show("Url is Invalid");
            }

A:

Unfortunately there is no server-side module that could help you here. In my opinion, you need to cycle through all possible year/month combinations. Consider using HEAD method request if you want to check for file existence only, placing less load on the Web server.

