I tried your code and i did not get any errors but i am getting this message: <HTML></HTML> HTTP/1.0 200 OK Content-Type: text/html Client-Date: Wed, 17 Oct 2007 13:00:23 GMT Client-Peer: ip address Refresh: 0; URL=https://www.somesite.com/import.do <HTML></HTML> The file is not uploaded. I am not sure what could be the problem. Other thing is there is no login page but the login is via the integrated login where IE asks for Username and pwd when this site is invoked. any idea if i am doing anything wrong?

In reply to Re^2: how to upload a file to a secured website? by KarthikK
in thread how to upload a file to a secured website? by KarthikK

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.