Check File Existence without downloading the File

Hi 

I've a lot of "URL" that points to differnt files in my server.

I want to check if the file is availalbe in the given URL without downloading the actual file.

Since files can be of any size, I just want to test there existence alone.

Is there any functions or workarounds? 

 

Thanks,

Anand