What should SYST command response be ?
as response to SYST command, I have sent the message ‘215 MACOS Mac OS X.\r\n’.
But FTP cafe does not work. He sends me the message ‘Unknown parser type:MACOS Mac OS X.’
What do I modify in my code?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try
215 UNIX Type: L8the first field (UNIX) being a well-known name from the official list of reserved names. The FTP RFC does not specify the "Type:" string, but it seems what other FTP servers send, so it would be wise to follow their example (especially if you expect quirky clients). L8 specifies that the server uses a local, 8-bit format. Again, I’d suggest to go with what most FTP servers do.