Created
March 19, 2013 12:50
-
-
Save jbuda/5195839 to your computer and use it in GitHub Desktop.
CF file download via FTP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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