How to check file exists using url, normally we have to use file exists controller on server like File.Exists() its working but url path like http://localhost:8081/assets/photos/test.jpg is not working. Please anyone explain ASAP
Dear @sudar ,
Please refer below references,
https://forums.asp.net/t/1822133.aspx?Check+whether+url+or+file+exist+
https://www.codeproject.com/Questions/255755/How-to-check-if-a-web-url-exists-using-asp-net
http://www.c-sharpcorner.com/forums/c-sharp-check-url-exist
it might be help you
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.