in reply to CWD to directory which name contain spaces

If this is till a problem, please turn on debug mode for FTP:

my $f = Net::FTP->new("ftp.xxxx.com", Debug=>1);

or print the response after each call:

say $f->message;

this will help us help you.