Question
Help!!!! I am getting a 501 Syntax Error with CFFTP ListDir. I created the file in January of 2014 and today is the first time it has failed.
<!---Control the timeout--->
<cfsetting requesttimeout="600">
<cfset thisDate = now()>
<cfset today = #DateFormat(thisDate,"mm-dd-yyyy")#>
<!--- Open ftp connection --->
<cfftp connection="MyFtp"
server="#FTPserver#"
username="#username#"
password="#password#"
action="Open"
stoponerror="Yes">
<cfftp action="listdir"
stopOnError="Yes"
name="Files"
directory="/export400"
connection="MyFtp"
>

