I apologize if this was posted yesterday. I sent it and never saw it show up
on the list...
I am having a problem with CFFTP. I can get it to open and close the
connection successfully, but can get no directory list.
I have double checked that my server is running NT 4 and not 3.5 which I
know had an issue in this regard. I have also tried using the exact path
(i.e. e:\webs..\..\htdocs) with no change in the outcome.
Below is the code I used followed by the results of running the template
(including the error code):
<CFFTP ACTION="open"
USERNAME="xxxxxxx"
CONNECTION="FTP"
PASSWORD="xxxxxx"
SERVER="ftp.xxxxxx.com"
PORT="21"
STOPONERROR="Yes">
<P>Did Open succeed? <CFOUTPUT>#CFFTP.Succeeded#</CFOUTPUT>
<CFFTP CONNECTION="FTP"
ACTION="GetCurrentDir"
STOPONERROR="Yes">
<P>Did GetCurrentDir succeed? <CFOUTPUT>#CFFTP.Succeeded#</CFOUTPUT>
<CFFTP CONNECTION="FTP"
ACTION="listdir"
DIRECTORY="htdocs"
NAME="ListFiles"
STOPONERROR="No">
<P>Did ListDir succeed? <CFOUTPUT>#CFFTP.Succeeded#</CFOUTPUT>
<P>Error Code <CFOUTPUT>#CFFTP.ErrorCode#</CFOUTPUT>
<P>Error Text <CFOUTPUT>#CFFTP.ErrorText#</CFOUTPUT>
<CFTABLE QUERY="ListFiles" HTMLTABLE>
<CFCOL HEADER="<B>Name</B>" TEXT="#name#">
<CFCOL HEADER="<B>Path</B>" TEXT="#path#">
<CFCOL HEADER="<B>URL</B>" TEXT="#url#">
<CFCOL HEADER="<B>Length</B>" TEXT="#length#">
<CFCOL HEADER="<B>LastModified</B>"
TEXT="Date(Format#lastmodified#)">
<CFCOL HEADER="<B>IsDirectory</B>"
TEXT="#isdirectory#">
</CFTABLE>
<P>Close the connection:
<CFFTP ACTION="close"
CONNECTION="FTP"
STOPONERROR="Yes">
<P>Did Close succeed? <CFOUTPUT>#CFFTP.Succeeded#</CFOUTPUT>
Here are the results...
Did Open succeed? YES
Did GetCurrentDir succeed? YES
Did ListDir succeed? NO
Error Code 2
Error Text 530 Only client IP address allowed for PORT command.
Close the connection:
Did Close succeed? YES
Any advice would be greatly appreciated.
Jeff
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.