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]