Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Using zftp with a non-standard port

Peter Stephenson wrote:
> Clint Adams wrote:
> > >   host:port
> > 
> > I seem to recall the colon causing problems for IPv6 users.  Not sure
> > what ever became of that.
> You're right, it'll need more checking because colons are part of the IP
> address.   That's quite nasty.

RFC2732 has been brought to my attention, which suggests for URIs:


so we would have something like:

zfopen '[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:21'

It's not backwardly compatible, but literal IPv6 addresses are currently
so rare that this might be a good time to make sure they don't break

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.


Messages sorted by: Reverse Date, Date, Thread, Author