Question : check folder exists and create
Answered by : andy79
string subPath ="ImagesPath"; // Your code goes here
bool exists = System.IO.Directory.Exists(Server.MapPath(subPath));
if(!exists) System.IO.Directory.CreateDirectory(Server.MapPath(subPath));
Source : https://stackoverflow.com/questions/9065598/if-a-folder-does-not-exist-create-it | Last Update : Thu, 22 Jul 21