550 CWD failed

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
atupi
500 Command not understood
Posts: 4
Joined: 2018-04-19 18:58
First name: Antonio
Last name: Tupinamba

550 CWD failed

#1 Post by atupi » 2018-04-19 19:08

I'm having problems with anonymous access to download. When using FileZila Client to search for downloadable files, it works fine. When using anonymous access via browser (IE 11, Chrome v65 or Edge) always returns the same error 550, indicating that the directory does not exist.
In FileZila server the home directory for anonymous is ftpttq. In this directory I have 3 more folders: releases, support and version. If the file is in the home or in any of the subfolders, it always returns the same 550 error. How can I solve this problem?

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

Re: 550 CWD failed

#2 Post by botg » 2018-04-20 08:10

Please provide the full log of a session.

atupi
500 Command not understood
Posts: 4
Joined: 2018-04-19 18:58
First name: Antonio
Last name: Tupinamba

Re: 550 CWD failed

#3 Post by atupi » 2019-06-25 18:17

Thank's Botg
See the log :
009074)6/25/2019 14:57:54 PM - (not logged in) (179.159.120.87)> Connected on port 21, sending welcome message...
(009074)6/25/2019 14:57:54 PM - (not logged in) (179.159.120.87)> 220 Bem vindo ao FTP da Total Quality
(009074)6/25/2019 14:57:54 PM - (not logged in) (179.159.120.87)> USER anonymous
(009074)6/25/2019 14:57:54 PM - (not logged in) (179.159.120.87)> 331 Password required for anonymous
(009074)6/25/2019 14:57:54 PM - (not logged in) (179.159.120.87)> PASS *******
(009074)6/25/2019 14:57:54 PM - anonymous (179.159.120.87)> 230 Logged on
(009074)6/25/2019 14:57:54 PM - anonymous (179.159.120.87)> TYPE I
(009074)6/25/2019 14:57:54 PM - anonymous (179.159.120.87)> 200 Type set to I
(009074)6/25/2019 14:57:54 PM - anonymous (179.159.120.87)> PASV
(009074)6/25/2019 14:57:54 PM - anonymous (179.159.120.87)> 227 Entering Passive Mode (172,31,14,159,195,164)
(009074)6/25/2019 14:57:54 PM - anonymous (179.159.120.87)> CWD /suporte/teste.txt
(009074)6/25/2019 14:57:54 PM - anonymous (179.159.120.87)> 550 CWD failed. "/suporte/teste.txt": directory not found.
(009074)6/25/2019 14:58:55 PM - anonymous (179.159.120.87)> disconnected.

atupi
500 Command not understood
Posts: 4
Joined: 2018-04-19 18:58
First name: Antonio
Last name: Tupinamba

Re: 550 CWD failed

#4 Post by atupi » 2019-06-25 18:21

in this case, I access with FileZila Client:

(009063)6/25/2019 12:10:00 PM - (not logged in) (179.159.120.87)> Connected on port 21, sending welcome message...
(009063)6/25/2019 12:10:00 PM - (not logged in) (179.159.120.87)> 220 Bem vindo ao FTP da Total Quality
(009063)6/25/2019 12:10:00 PM - (not logged in) (179.159.120.87)> AUTH TLS
(009063)6/25/2019 12:10:00 PM - (not logged in) (179.159.120.87)> 502 Explicit TLS authentication not allowed
(009063)6/25/2019 12:10:00 PM - (not logged in) (179.159.120.87)> AUTH SSL
(009063)6/25/2019 12:10:00 PM - (not logged in) (179.159.120.87)> 502 Explicit TLS authentication not allowed
(009063)6/25/2019 12:10:00 PM - (not logged in) (179.159.120.87)> USER anonymous
(009063)6/25/2019 12:10:00 PM - (not logged in) (179.159.120.87)> 331 Password required for anonymous
(009063)6/25/2019 12:10:00 PM - (not logged in) (179.159.120.87)> PASS *********************
(009063)6/25/2019 12:10:00 PM - anonymous (179.159.120.87)> 230 Logged on
(009063)6/25/2019 12:10:00 PM - anonymous (179.159.120.87)> CWD /suporte
(009063)6/25/2019 12:10:00 PM - anonymous (179.159.120.87)> 250 CWD successful. "/suporte" is current directory.
(009063)6/25/2019 12:10:02 PM - anonymous (179.159.120.87)> TYPE A
(009063)6/25/2019 12:10:02 PM - anonymous (179.159.120.87)> 200 Type set to A
(009063)6/25/2019 12:10:02 PM - anonymous (179.159.120.87)> PORT 179,159,120,87,199,20
(009063)6/25/2019 12:10:02 PM - anonymous (179.159.120.87)> 200 Port command successful
(009063)6/25/2019 12:10:02 PM - anonymous (179.159.120.87)> RETR teste.txt
(009063)6/25/2019 12:10:02 PM - anonymous (179.159.120.87)> 150 Opening data channel for file download from server of "/suporte/teste.txt"
(009063)6/25/2019 12:10:03 PM - anonymous (179.159.120.87)> 226 Successfully transferred "/suporte/teste.txt"
(009063)6/25/2019 12:11:03 PM - anonymous (179.159.120.87)> disconnected.

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

Re: 550 CWD failed

#5 Post by botg » 2019-06-26 06:53

For some reason your webbrowser thinks it's a directory, not a file. Unfortunately only your browser vendor can answer the question as to why that is.

atupi
500 Command not understood
Posts: 4
Joined: 2018-04-19 18:58
First name: Antonio
Last name: Tupinamba

Re: 550 CWD failed

#6 Post by atupi » 2019-06-26 20:34

Hi Botg
Thanks for the feedback !
This problem occurs with 3 different webbrowsers: IE, Chrome and Edge. Can this have any relation to folder permissions or firewall configuration?

What do you advise me to do?

best regards

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

Re: 550 CWD failed

#7 Post by botg » 2019-06-27 06:56

Browsers are meant for web-browsing, they are lousy FTP clients. Just use a proper FTP client software.

Post Reply