Skip to main content
Participant
June 5, 2008
Question

weird cfftp error

  • June 5, 2008
  • 1 reply
  • 384 views
Hi all,

I am running the attached snippet in order to list files in a directory on a remote server. When I run it locally on my dev machine, it runs fine, producing expected results. On a remote server, it produces the following error:

An error occurred during the FTP LISTDIR operation.
Error: 500 'ORT 74,219,123,222,20,126': command not understood .

The error occurred in C:\Inetpub\wwwroot\widget\ftp_test.cfm: line 15

13 : name="files_to_delete"
14 : directory="wwwroot/wwwroot/pics"
15 : connection="uploader">
16 :
17 : <cfdump var=#files_to_delete#>

Both are running dev version of cf server 8.1

Any thoughts?

-Sky
    This topic has been closed for replies.

    1 reply

    Inspiring
    June 5, 2008
    what FTP server is running on the remote machine.

    the command not being understood means that either there is no actua FTP service there, it runs a non-standard server command set, or certain functions/commands have been disabled as a security precaution
    skydiverQAuthor
    Participant
    June 5, 2008
    Glen,

    I'm not sure what service is being run on the remote machine, however, when I run this code (against said server) from my dev machine, it works fine and produces intended results. When I run this code (against said server) from my production machine, that is where it produces the error that I quoted.

    The only variable that's changing is the box that is running the code, not the target machine. That being the case, I view the FTP server as immaterial.

    Thanks for your thoughts though....

    -Sky