in reply to Re^2: how to pipe url back to stdout as stream
in thread how to pipe url back to stdout as stream
There's an HTTP header called "Content-Disposition" that lets you pass a filename back to the browser (among other things). Try Googling for info on correct usage.