CWD path with \ between 0.9.60 and 1.6.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
dcclayton
500 Command not understood
Posts: 2
Joined: 2023-01-18 17:36
First name: David
Last name: Clayton

CWD path with \ between 0.9.60 and 1.6.1

#1 Post by dcclayton » 2023-01-18 17:57

Hi,

I have an FTP client (IBM) that connects to FZS 0.9.60:

Code: Select all

Connecting to remote host 10.1.5.24 using port 21.                              
220-FileZilla Server 0.9.60 beta                                                
220-written by Tim Kosse (tim.kosse@filezilla-project.org)                      
220 Please visit https://filezilla-project.org/                                 
IBM                                                                             
331 Password required for ibm                                                   
230 Logged on                                                                   
UNIX emulated by FileZilla                                                      
CWD finance\bacs\bacs-ddr\sales\                                                
250 CWD successful. "/finance/bacs/bacs-ddr/sales" is current directory.
The client sends the path with \

When I try and use FZS 1.6.1, it doesn't handle the \ and works with the /

Code: Select all

Connecting to remote host 10.1.5.45 using port 21.
220-FileZilla Server 1.6.1                        
220 Please visit https://filezilla-project.org/   
ibmbackup                                         
331 Please, specify the password.                 
230 Login successful.                             
UNIX emulated by FileZilla.                       
CWD finance\bacs\bacs-ddr\sales\                  
550 Invalid file name or path                     
CWD finance/bacs/bacs-ddr/sales/                  
250 CWD command successful
Is there a configuration setting I can change to make 1.6.1 accept the path with the \?

Thanks

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

Re: CWD path with \ between 0.9.60 and 1.6.1

#2 Post by botg » 2023-01-18 20:36

This is desired and intentional behavior. FileZilla Server implements TVFS as defined in RFC 3659, the only path separator is the forward slash. For consistency across platforms, this is not configurable. You need to update to a more modern client.

dcclayton
500 Command not understood
Posts: 2
Joined: 2023-01-18 17:36
First name: David
Last name: Clayton

Re: CWD path with \ between 0.9.60 and 1.6.1

#3 Post by dcclayton » 2023-01-19 11:15

The software developers have changed the client to use a /. I agree is the correct way going forward and was a bit of a bug that it was allowed prior.

Post Reply