Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

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.

$
0
0

<!---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"

>

SyntaxError.jpg


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>