$ZFTP_FILE
–
Filename of transferred remote file
$ZFTP_FILE
contains the filename of the remote file which is being transferred.
Links
BashSupport Pro is a Zsh IDE with support for $ZFTP_FILE – try it now!