     binary file since we aren't posting it like a form field - we're
     posting it as the BODY of the PUT request.
 --->
-<cfset content = fileReadBinary( expandPath( "/images/Arctos-generic-header.png" ) ) />
 
 <!---
     When uploading the file, we are going to save it at the



<cfif action is "putfile">
<cfhttp
    result="put"
    method="put"
    url="#d.s3_endpoint#/testing.mctesty/#resource#">


<!----
    <cfhttpparam
        type="header"
        name="accessKey"
        value="#d.s3_accesskey#"
        />
	 <cfhttpparam
        type="header"
        name="secretKey"
        value="#d.s3_secretkey#"
        />


    <cfhttpparam
        type="header"
        name="x-amz-acl"
        value="bucket-owner-full-control"
        />


----><cfhttpparam
        type="header"
        name="Authorization"
        value="AWS #d.s3_accesskey#:#signature#"
/>




    <cfhttpparam
        type="header"
        name="Content-Length"
        value="#contentLength#"
        />

    <cfhttpparam
        type="header"
        name="Content-Length"
        value="#arrayLen( content )#"
        />

    <cfhttpparam
        type="header"
        name="Content-Type"
        value="#contentType#"
        />

    <cfhttpparam
        type="header"
        name="Date"
        value="#currentTime#"
        />

    <cfhttpparam
        type="body"
        value="#content#"
        />
</cfhttp>
</cfif>





<!--- Collapse the parts into a newline-delimited list. --->

<br>stringToSign: #stringToSign#

