Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 romping around the Monastery: (5)
As of 2016-06-27 02:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (335 votes). Check out past polls.