FALCONSEYE
Programmer
i have the following...
<p>Open the connection</p>
<cfftp action="OPEN" server="...." username="" password="" connection="myFTP" stoponerror="yes">
<cffile action="write" file="e:/DeleteThisFile.txt" output="#ValueList(GetCustomerTable.emailAddress)#">
<cffile action="read" file="e:/DeleteThisFile.txt" variable="mess">
<cfftp action = "LISTDIR"
stopOnError = "Yes"
name = "ListFiles"
directory = "e:/"
connection = "myFTP">
<cfoutput query = "ListFiles">
#name#<BR>
</cfoutput><p>-----------</p>
<cfoutput>#mess#</cfoutput>
<p>Close the connection:
<cfftp action = "close" connection = "myFTP" stopOnError = "Yes">
i am trying to write the outputs of a query into a text file and ftp it to a server. my problem is i am getting the following error:
An exception occurred when performing the FTP LISTDIR operation.
The cause of this exception was that: Connection closed without indication..
The error occurred in E:\vpTwo\Sprocket\BURAK\JCSExport.cfm: line 28
26 :
27 : <cfftp action = "LISTDIR"
28 : stopOnError = "Yes"
29 : name = "ListFiles"
30 : directory = "e:/"
i am not sure why i get this error. does anyone know how to fix this ?
thanks in advance
<p>Open the connection</p>
<cfftp action="OPEN" server="...." username="" password="" connection="myFTP" stoponerror="yes">
<cffile action="write" file="e:/DeleteThisFile.txt" output="#ValueList(GetCustomerTable.emailAddress)#">
<cffile action="read" file="e:/DeleteThisFile.txt" variable="mess">
<cfftp action = "LISTDIR"
stopOnError = "Yes"
name = "ListFiles"
directory = "e:/"
connection = "myFTP">
<cfoutput query = "ListFiles">
#name#<BR>
</cfoutput><p>-----------</p>
<cfoutput>#mess#</cfoutput>
<p>Close the connection:
<cfftp action = "close" connection = "myFTP" stopOnError = "Yes">
i am trying to write the outputs of a query into a text file and ftp it to a server. my problem is i am getting the following error:
An exception occurred when performing the FTP LISTDIR operation.
The cause of this exception was that: Connection closed without indication..
The error occurred in E:\vpTwo\Sprocket\BURAK\JCSExport.cfm: line 28
26 :
27 : <cfftp action = "LISTDIR"
28 : stopOnError = "Yes"
29 : name = "ListFiles"
30 : directory = "e:/"
i am not sure why i get this error. does anyone know how to fix this ?
thanks in advance