Hi,
Is it possible to programmatically read the statistics of a file
hosted on a web server (not controlled by me)? I want to make files
available via RSS based on the suppliers giving me the name and URL of
their file. I don't want to require that they give me the file
length, but that's a required attribute of an RSS item's "enclosure"
element. The file length may change due to updates, so I'd like to be
able to determine the length at the time of the RSS creation.
My presumption is that since the file is available for download, that
anyone would have access to be able to read the file, but the
FileInfo, FileStream, and other classes that I've researched don't
provide access to URLs, that I can see.
Is this just something that's not allowed? Will I need to require the
provider to indicate and maintain the file length?
Thanks,
JT