How to check if a url is a valid url for a photo?

UiPath Demo App (rpasamples.com)

On this website I want to upload a photo through UiPath. But I only have the photo url. So I need to check if the url is valid then download it then upload it.

@Siam_Rahman,

If you are going to check it in Studio, use Activities - Download file from URL activity

Add it into Try catch. If it’s valid URL then it will download the photo. If not, it will throw an error which will be caught in Catch section.

Thanks,
Ashok :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.