Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: download a file from non-web space

by wardk (Deacon)
on Aug 14, 2001 at 02:17 UTC ( #104608=note: print w/ replies, xml ) Need Help??


in reply to download a file from non-web space

when you read the file to display it, save it off in the "webspace" as a world-readable file then create a simple HREF to it on the dynamic page. give it an extension that will get the browser to produce a file dialog for saving locally.

there's a bit more to consider, especially if a multi-user site...make sure you clean up occasionally, all those file could eat some serious space.


Comment on Re: download a file from non-web space

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://104608]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-12-28 04:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (178 votes), past polls