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
solitude12
500 Command not understood
Posts: 2
Joined: 2020-07-01 00:44
First name: aaron
Last name: victor

550 CWD failed

#1 Post by solitude12 » 2020-07-01 00:52

I have a device that has an in built FTP client which I'm using to get data from the FTP server but the client is unable to get the data from the FTP server. I have setup my home directory correctly that has the file to be fetched from
FTP1.JPG
FTP1.JPG (33.33 KiB) Viewed 444 times
but when the client makes the connection to the FTP server to get the data it fails

(000066)6/30/2020 20:40:47 PM - (not logged in) (10.100.0.11)> USER test
(000066)6/30/2020 20:40:47 PM - (not logged in) (10.100.0.11)> 331 Password required for test
(000066)6/30/2020 20:40:47 PM - (not logged in) (10.100.0.11)> PASS *******
(000066)6/30/2020 20:40:47 PM - test (10.100.0.11)> 230 Logged on
(000066)6/30/2020 20:40:47 PM - test (10.100.0.11)> CWD C/backup/20198.bak
(000066)6/30/2020 20:40:47 PM - test (10.100.0.11)> 550 CWD failed. "/C/backup/20198.bak": directory not found.
(000066)6/30/2020 20:40:47 PM - test (10.100.0.11)> CWD C/backup
(000066)6/30/2020 20:40:47 PM - test (10.100.0.11)> 550 CWD failed. "/C/backup": directory not found.

Command from Client

copy ftp://test:test123@10.100.0.54/C/backup/20198.bak backup
% Error happened. Failed to change directory (C/backup/20198.bak)


What am i missing in configuration?

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

Re: 550 CWD failed

#2 Post by boco » 2020-07-01 08:25

FileZilla Server exposes a virtual path structure only. The directory you configure as Home directory is /. The backup application needs to transfer to or from / (the root), a path C/backup doesn't exist in the server.

Physical path C:\Backup = Home directory = Virtual path /
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

solitude12
500 Command not understood
Posts: 2
Joined: 2020-07-01 00:44
First name: aaron
Last name: victor

Re: 550 CWD failed

#3 Post by solitude12 » 2020-07-01 13:14

Would this be the correct syntax copy ftp://test:test123@10.100.0.54/C/20198.bak backup

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

Re: 550 CWD failed

#4 Post by boco » 2020-07-01 16:59

Take out the C/, it doesn't exist. Drive letters aren't exposed, only what you share.

If the file is directly under C:\backup ( / ), use

ftp://test:test123@10.100.0.54/20198.bak
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

Post Reply