Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <cfset sFilename = "C:999test4.txt">
- <cffile action="read" file="#sFilename#" variable="fileRead">
- <cfset oFileInfo = GetFileInfo("#sFilename#")>
- <cfhttp url="localhost/Clarence/diff_elt_test_output.cfm"
- method="PUT"
- username="******"
- password="******"
- multipart="no"
- result="oHttp">
- <cfhttpparam type="header" name="Content-Type" value="text/plain" />
- <cfhttpparam type="header" name="Content-Length" value="#oFileInfo.Size#" />
- <cfhttpparam type="body" value="#fileRead#"/>
- </cfhttp>
Add Comment
Please, Sign In to add comment