--- bzrlib/transport/ftp.py-orig Fri Aug 11 12:35:06 2006 +++ bzrlib/transport/ftp.py Tue Aug 15 14:36:23 2006 @@ -122,7 +122,10 @@ netloc = '%s@%s' % (urllib.quote(self._username), netloc) if self._port is not None: netloc = '%s:%d' % (netloc, self._port) - return urlparse.urlunparse(('ftp', netloc, path, '', '', '')) + pfx = "" + if self.is_active: + pfx = "a" + return urlparse.urlunparse((pfx + 'ftp', netloc, path, '', '', '')) def _get_FTP(self): """Return the ftplib.FTP instance for this object."""