def ftp_url(self):
        # type: () -> Text
        """Get the FTP url this filesystem will open."""
        url = (
            "ftp://{}".format(self.host)
            if self.port == 21
            else "ftp://{}:{}".format(self.host, self.port)
        )
        return url
Get the FTP url this filesystem will open.