I have a page that a user (owner of that particular site) can backup their database. This creates a file in which all information will be stored. As the hosting company we do periodical backups, this feature is basically for those who love to backup their data religiously (24.7). The file that is created is then stored onto the server. I would like the file to be stored onto their computer instead.

I figure the easiest way would be to store the file on the server, have the script download the file to their computer and then delete the file off of the server. I have searched the archives and couldn't seemed to find what I was particularly looking for. So I ask you perl monks for a gentle shove in the right direction (a module to use, a thought, etc.).

bmhm

In reply to Dowloading to a user by bmhm

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.