Hi, I am very new to Perl & need your help. I have a PDF file on a Windows box that is guarded by a layer of software. To get to that manually I need to go to an URL, enter my userid/password, that software sends a cookie (it changes everytime I log in) and then I can get the file. The purpose is to get that PDF file from Windows box to a UNIX machine & store under a specfic directory. Can you please tell how I can achieve this? Thanks. *********************************UPDATE**************************************** I sincerely appreciate your help but I still need some more help. If this is a straight forward download of a PDF file, I can do that but in my case it's different. When I click on the PDF file, it pops a standard "File Download" screen and asks "Do you want to open or save this file?". Once I press the "Save" button, It gives "File name:" & "Save as type:" along with "Save" & "Cancel" buttons. I want to keep the same file name but want to save as "Adobe Acrobat Document". I am stuck & how can I solve this? Thanks again for your help. *******************************************************************************

In reply to How to copy a PDF file by perl2008

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.