Page 1 of 1

550 CWD failed

Posted: 2020-07-01 00:52
by solitude12
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 4565 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?

Re: 550 CWD failed

Posted: 2020-07-01 08:25
by boco
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 /

Re: 550 CWD failed

Posted: 2020-07-01 13:14
by solitude12
Would this be the correct syntax copy ftp://test:test123@10.100.0.54/C/20198.bak backup

Re: 550 CWD failed

Posted: 2020-07-01 16:59
by boco
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