RMD returns problematic response since 1.8.1

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
larsen
500 Command not understood
Posts: 5
Joined: 2023-03-10 11:40

RMD returns problematic response since 1.8.1

#1 Post by larsen » 2024-03-06 12:03

Hello,

we have a Xerox AltaLink C8035 that is used for scanning and stores PDFs via FTP. After I upgraded FileZilla Server from 1.8.0 to 1.8.1, the scanner stopped storing files as it seems it doesn't cope well with a changed error message.

Following are (what I hope) the relevant parts from the log. The scanner first tries to create and delete some directories (apparently checking for case-sensitivity).

With 1.8.0:

Code: Select all

xerox [Command] MKD /xcse7980
xerox [Response] 257 "/xcse7980" created successfully.
xerox [Command] MKD /XCSE7980
xerox [Response] 257 "/XCSE7980" created successfully.
xerox [Command] RMD /xcse7980
xerox [Response] 250 Directory deleted successfully.
xerox [Command] RMD /XCSE7980
xerox [Response] 550 Couldn't open the file or directory
With 1.8.1:

Code: Select all

xerox [Command] MKD /xcse6437
xerox [Response] 257 "/xcse6437" created successfully.
xerox [Command] MKD /XCSE6437
xerox [Response] 257 "/XCSE6437" created successfully.
xerox [Command] RMD /xcse6437
xerox [Response] 250 Directory deleted successfully.
xerox [Command] RMD /XCSE6437
xerox [Response] 550 Diese Funktion wird vom System nicht unterstützt.
The error message comes from Windows 10 (German) instead of FileZilla Server. At least, I don't think that FZ would produce a localized error message. Translates to "550 This function is not supported on this system."

What is the background for that change and could it be reverted or changed to adapt for this problem?
I will also try to contact Xerox support.

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: RMD returns problematic response since 1.8.1

#2 Post by botg » 2024-03-06 12:36

The error message is a bug, but it should not affect the client in any way. The text of the message is intended for humans only. Programs should look only at the response code, and of that, one only needs the first digit.

User avatar
boco
Contributor
Posts: 26940
Joined: 2006-05-01 03:28
Location: Germany

Re: RMD returns problematic response since 1.8.1

#3 Post by boco » 2024-03-06 12:40

There is a little issue with the text being off, but actually, that text is completely irrelevant. All the client deals with is the response code, and that one hasn't changed at all. Any client evaluating the error text is doing it wrong, the text is for humans only.
Take ten different FTP server software packages, and you will have at least five different versions of the error text. Machine programs are supposed to read and interpret the response code, 550.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

larsen
500 Command not understood
Posts: 5
Joined: 2023-03-10 11:40

Re: RMD returns problematic response since 1.8.1

#4 Post by larsen » 2024-03-06 13:46

Alright, thought so. Hoping for Xerox support then.

Out of curiosity: What is the background for that change?

User avatar
boco
Contributor
Posts: 26940
Joined: 2006-05-01 03:28
Location: Germany

Re: RMD returns problematic response since 1.8.1

#5 Post by boco » 2024-03-07 00:52

It's the wrong text, it's a bug. Still, clients should never rely on the text portion of server responses. Unlike the response codes, texts are not standardized and there will be variations between server implementations.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply