Skip to Content
avatar image
Former Member

Save pdf file to folder on click submit button

Hi,

Does anyone knows how to save a currently open pdf file to a specific directory folder when the submit button is clicked? Is it possible to be done using javascript or formcalc?

Thanks,

Cindy

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 26, 2007 at 10:51 AM

    Hi Cindy,

    Do you mean saving the file on the server or on the client machine?

    On the server it's pretty easy with Java to save the context element that represents the PDF file.

    I doubt it can be done locally, having Javascript able to write to a client machine would obviously be a security issue.

    You can supply a link with a FileDownload UI element bound to the PDF context if that helps.

    Regards

    Gregor

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 26, 2007 at 12:26 PM
    Add comment
    10|10000 characters needed characters exceeded