$ZFTP_HOST
 – 
Hostname of current remote server
$ZFTP_HOST contains the hostname or IP address of the current remote FTP server.
Links
BashSupport Pro is a Zsh IDE with support for $ZFTP_HOST – try it now!