Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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.

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 making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2016-08-29 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (409 votes). Check out past polls.