Fixed cwd matching in ftp transport