login about faq

Why the 500 error?

SendCommand:

DllDate: Dec 29 2015 
ChilkatVersion: 9.5.0.55
UnlockPrefix: *******
Username: 2K7MBS1:LE03964A
Architecture: Little Endian; 32-bit
Language: Windows Perl
VerboseLogging: 0
command: GET BAIEX530,CBFS3922 C:\ftp\banklink\baiexrpt
simpleCommand:
  sendCommand:
    sendingCommand: GET BAIEX530,CBFS3922 C:\ftp\banklink\baiexrpt
  --sendCommand
  readCommandResponse:
    replyLineQP: 500 Syntax error, command unrecognized.
  --readCommandResponse
--simpleCommand
statusCode: 500
Failed.

--SendCommand --ChilkatLog

asked Jun 08 at 15:03

cdlvj130's gravatar image

cdlvj130
9691017


  1. The SendCommand can only be used for commands where the result is just a reply on the command/control connection. It seems like you're trying to download a file, but that's not possible because FTP sends the file on a separate data connection.
  2. You're confusing the commands of an FTP console application vs. the commands of the FTP protocol. Let's say you start a DOS prompt and type the "ftp" command, and then begin entering commands at the FTP prompt, such as "ls", "cd", "get", etc. These are the human-interface commands to the FTP client application. The actual commands that get sent to the FTP server are the FTP protocol commands. These are specified in RFC 959 (https://tools.ietf.org/html/rfc959) as well as in many RFC's for FTP protocol extensions.
link

answered Jun 08 at 17:59

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

certainly makes sense. Thanks.

link

answered Jun 09 at 09:20

cdlvj130's gravatar image

cdlvj130
9691017

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×90

Asked: Jun 08 at 15:03

Seen: 255 times

Last updated: Jun 09 at 09:20

powered by OSQA