Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible to use wild cards in a URL to retrieve multiple objects located on a server, or a listing of multiple objects located on a server.

For example:

www.mywebsite.com/images/october/*.jpg

Or is there anything similar that would produce the result that I'm looking for.

share|improve this question
add comment

2 Answers

It's only possible if you have a custom developed filter, handler, or application that can understand the wildcard syntax. IIS does not natively support wildcards in URLs.

share|improve this answer
add comment

It's not possible (at least in common HTTP 1.1), because the HTTP protocol doesn't work this way. For every HTTP request there is one HTTP response - the two together are called a HTTP transaction.

CLIENT --> HTTP Request  --> SERVER
CLIENT <-- HTTP Response <-- SERVER
CLIENT --> HTTP Request  --> SERVER
CLIENT <-- HTTP Response <-- SERVER

As workaround you could implement some sort of zip file where you collect all the files and return it as single file download.

Another approach would be a client-side (browser) implementation in JavaScript where you get the files in some sort of loop.

Both alternatives are rather theoretical solutions.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.