Skip to content

Instantly share code, notes, and snippets.

@bennadel
Created March 25, 2014 00:57
Show Gist options
  • Save bennadel/9753214 to your computer and use it in GitHub Desktop.
Save bennadel/9753214 to your computer and use it in GitHub Desktop.
ColdFusion CFFTP Timeout Value Cannot Be Dynamic
<!---
Open the connection, cache it using, "objConnection",
and give it a large timeout.
--->
<cfftp
action="open"
connection="objConnection"
timeout="#(60 * 5)#"
attributeCollection="#objFTPProperties#"
/>
<!--- Close the connection. --->
<cfftp
action="close"
connection="objConnection"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment