port 443

Last post 07-31-2007, 8:59 AM by Damon. 2 replies.
Sort Posts: Previous Next
  •  03-09-2007, 6:05 AM Post number 20383

    port 443

    Hi all,

    How upload the files to server using port 443.


    am in my way
  •  07-31-2007, 4:19 AM Post number 34270 in reply to post number 20383

    Re: port 443

    Can u just explain in Detail
    Ashok Raja
    ___________________________________
    www.igold.in - The Dotnet Technical Hub
  •  07-31-2007, 8:59 AM Post number 34277 in reply to post number 20383

    • Damon is not online. Last active: 11-26-2008, 11:06 AM Damon
    • Top 10 Contributor
    • Joined on 06-26-2006
    • Dallas, TX
    • Acorn Archimedes

    Re: port 443

    When you upload a file from an HTML form, the file is sent as part of the form post.  All form post data is posted to the "action" attribute of the form tag, e.g.

    <form action="somepage.aspx">

    ... your form ...

    </form>

    If you do not specify an action in the form tag, it defaults to the current page.  If you do not specify a protocol, it defaults to the current protocol.  So, to make sure you send a file over SSL (port 443), you need to either

    1.) Be on a secure page already so it defaults to a secure protocol

    or

    2.) Explicitly define the protocol by fully qualifing your action attribute with https://, e.g.

    <form action="https://www.yourserver.com">

    ... your form ...

    </form>


    Damon Armstrong, Technology Consultant
    [Blog] [Articles]
View as RSS news feed in XML