Checking for Remote File

RobinTibbs

Member
Joined
Nov 8, 2006
Messages
18
Programming Experience
Beginner
Just wondering, is there a way to check if a remote file exists, so I can check if it's actually there before my app downloads it, and it its not, return info on the HTTP error? Many thanks :)
 
Off the top, I'm not sure there is a CheckIfRemoteFileExists, but you can just put the Download function in a Try..Catch block and trap the "file dosent exist error", so that you can display a nice message for the user.
 
Back
Top