How can i make my code to get image "_filename.JPG" not only "_filename.jpg"?
string picUrl = "http://MyServer/" + _filename + ".jpg";
Image webImage = global::MyProject.Properties.Resources.ImageNotFound1;
try
{
WebRequest requestPic = WebRequest.Create(picUrl);
WebResponse responsePic = requestPic.GetResponse();
webImage = Image.FromStream(responsePic.GetResponseStream());
}
Like one of Alexei Levenkov suggestions, I made my Apache server case insensitive by enabling a module "mod_speling"
Here is the link http://www.leccionespracticas.com/informatica-sistemas-y-servidores/apache-case-sensitive-to-case-insensitive-and-alias-solved/
Case sensitivity is enforced by server - your client side code can't influence server's behavior. It is unusual for HTTP servers to require exact casing of the path, but easily obtainable behavior for Unix/Linux based servers and described this way in Uri RFC.
Your options if server is case sensitive: