Can someone please help. I'm trying to do a simple list of directory and the command doesn't work.
<cfdump var="#test#"> the command works fine in CF8 and CF9. But in CF10 it returns
h1. An error occurred during the FTP listdir operation.
Error: 215 . .
The "NAME" that the error 215 is referring to is the server name at the other end. The "Name" in CFFTP is your query name.
At this point I would run FileZilla with full tracing/logging turned on, and see if anything funky happens when you connect to the ftp server. It will do a listdir automatically when it connects. Look to see if the server changes its name or something like that. The ftp support in CF10 is almost certainly different from that in CF8 or CF9, so maybe there is something that it is sensitive to.
Wishing this advice wasn't so vague, but at this point it looks like you need more information about the connection that what CF is going to give you. Keep us posted.
Any word on this? I'm having the same problem. I can connect to a filezilla server and see that both coldfusion and ftp from a command prompt will translate the listdir and dir commands as a LIST action in filezilla. I don't have access to the ftp server that's giving me this 215 error code unfortunately, maybe something interesting would be found in those logs.