FTP bug fixes and added cdup