Skip to content

Instantly share code, notes, and snippets.

@jbuda
Created March 19, 2013 12:50
Show Gist options
  • Save jbuda/5195839 to your computer and use it in GitHub Desktop.
Save jbuda/5195839 to your computer and use it in GitHub Desktop.
CF file download via FTP
<cfsetting requestTimeOut="100000" />
<cfoutput query="pdfsToDownload">
<cfftp action="getFile"
server="__server__"
username="__username__"
password="__password__"
localfile="#expandPath('\temp\')##listLast(file,'/')#"
remoteFile="__remotefile__" />
</cfoutput>
<cfflush>download complete<br/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment