Change working directory before ftp call.