Comment 8 for bug 281476

Revision history for this message
Bryce Harrington (bryce) wrote : Re: Need way to get attachment filenames

> When you GET an attachment URL in the web service you're redirected to a URL on the librarian. The last path element of the librarian URL is the file's current filename.

Could you provide example code for doing this, that produces the librarian URL?

Fwiw, while the workaround to this problem solved my original need (a non-interactive script for processing bugs), I've discovered for other tools I do need this feature, because the workaround is indeed too slow when dealing with bugs that have lots of files attached.