Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

weird cfftp error

New Here ,
Jun 04, 2008 Jun 04, 2008
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
325
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 04, 2008 Jun 04, 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 05, 2008 Jun 05, 2008
LATEST
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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources