Within VBA, I can easily download a file and then obtain properties from that file using URLDownloadtofile to download a file and .getdetailsof to obtain file properties from the file on disk.
However, I want to avoid downloading the file if it does not meet certain criteria, so I want to find out the file properties before I download the file.
For instance, I've identified an image file with the hypothetical address of "http://www.samplesite.com/filename.jpg." I only want to download the entire file it if its bit depth exceeds a certain number, so I want to find that property before downloading.
Is there any way to do this? I don't need a code excerpt (though I wouldn't say no!), I just need to know the core command(s) to use.
Thanks for any help!
However, I want to avoid downloading the file if it does not meet certain criteria, so I want to find out the file properties before I download the file.
For instance, I've identified an image file with the hypothetical address of "http://www.samplesite.com/filename.jpg." I only want to download the entire file it if its bit depth exceeds a certain number, so I want to find that property before downloading.
Is there any way to do this? I don't need a code excerpt (though I wouldn't say no!), I just need to know the core command(s) to use.
Thanks for any help!