ZSHZFTPSYS(1) General Commands Manual ZSHZFTPSYS(1) (NAME) zshzftpsys - zftp (DESCRIPTION) zftp FTP . FTP ( ftp ftp(1) ) (completion) (globbing) . zftp zshmodules(1) zsh . : <> ( ). zftp (link) : <> zftp <> . zftp zftp . $ZFTP_TMOUT $ZFTP_PREFS $ZFTP_VERBOSE zftp . (INSTALLATION) Functions/Zftp <> . . $fpath ( ) zfinit (autoload) . zfinit . .zshrc ~/myfns : fpath=(~/myfns $fpath) autoload -U zfinit zfinit zfinit zmodload zftp . zfinit zfinit -n . ( ) zfinit compctl . (FUNCTIONS) FTP . getopts <<->> <<-->> ( <<->> ). (Opening a connection) zfparams [ host [ user [ password ... ] ] ] zfopen . ( ). host user password (prompt) <> <> . zfopen zfparams . <<->> . ( ) . zfopen [ -1 ] [ host [ user [ password [ account ] ] ] ] host user password ( account) . <> . host . xterm sun-cmd host:directory host:directory zftp_chpwd . host user password zfopen ( ). <<-1>> . open ( ). zfopen zfopen -1 . zfopen zfanon ( zfparams) ftp://host/path... host path ( ) . <> <> path . <> host path . zfanon [ -1 ] host host FTP . <> . ( ) user@host $EMAIL_ADDR . zfcd [ dir ] zfcd - zfcd old new : cd . dir dir . `zfcd ..' ( zftp ). dir `zfcd ~' . . old new . `~' `~' . zfcd . `zfcd ~/foo' . `zfcd /home/user2/pws/foo' . zfcd `~' ~/foo `~' . `~name' . zfhere `~' zfcd. ~/foo/bar zfhere `zfcd ~/foo/bar' . zfdir [ -rfd ] [ - ] [ dir-options ] [ dir ] . dir-options dir dir . (pager) $PAGER `more' . . . dir-options dir (flush) . zfdir `zfdir /pub/gnu' . -r . zfdir -f . -d . zfls [ ls-options ] [ dir ] . . . . (Status commands) zftype [ type ] ASCII . : `A' `ASCII' ASCII `B' `BINARY' `I' `IMAGE' . zfstat [ -v ] zftp . -v . . -G ( ). -t (modification time) : zfrtime . zfget [ -Gtc ] file1 ... file1 ... . `/' `/' . -c (cat) -t . zfuget [ -Gvst ] file1 ... zfget ( ) . . -s . -v . zfcget [ -Gt ] file1 ... zfget . . FTP . zfgcp [ -Gt ] remote-file local-file zfgcp [ -Gt ] rfile1 ... ldir cp . remote-file local-file . rfile1 ... (basename) ldir . UNIX . (Sending files) zfput [ -r ] file1 ... file1 ... . `/' (basename) . -r files `.' . UNIX `/' . zfuput [ -vs ] file1 ... zfput . zfuget . zfcput file1 ... zfput . (append) FTP zfcget . zfpcp local-file remote-file zfpcp lfile1 ... rdir cp . local-file remote-file . lfile1 ... rdir . UNIX . zfpcp lfile1 rdir rdir . . rdir `.' `..' . 553 `Is a directory' zfpcp . zfclose . (Session management) zfsession [ -lvod ] [ sessname ] FTP . <> <> . / zfparams . . zfsession -l -v . -o . -d ( ) . <> . zftp . zftransfer sess1:file1 sess2:file2 . sess1 file1 sess2 file2 file1 file2 . sess1 sess2 ( ) file2 (basename) file1 . sess1 sess2 . (pipes) (subshell) . (Bookmarks) zfmark zfgoto ( ) FTP <<>> . $ZFTP_BMFILE .zfbkmarks zsh ( ~) . zfmark [ bookmark ] bookmark zfgoto . . . user@host:directory . zfgoto [ -n ] bookmark bookmark zfmark . `ftp' `anonymous' zfanon . . . -n (nickname) ncftp ~/.ncftp/bookmarks . . ncftp zftp . ( zfinit) . zftp_chpwd zftp_progress . zfinit [ -n ] zftp . zftp -n . zfautocheck [ -dn ] . -n -d do_close . $zflastsession host/user/password . zfcd_match prefix suffix . UNIX . zfget_match . . zfget_match prefix suffix . ( ) $zftp_fcache . -K compctl prefix suffix . zfrglob varname (globbing) . varname . zfrtime lfile rfile [ time ] lfile rfile time FTP CCYYMMDDhhmmSS GMT . zsh/datetime GMT . zftp_chpwd . xterm sun-cmd . chpwd . chpwd() { if [[ -n $ZFTP_USER ]]; then zftp_chpwd else # usual chpwd e.g put host:directory in title bar fi } . zftp_progress . `zstyle ':zftp:*' progress none' . . . zffcache . zfget_match zfrglob . (Configuration) zshmodules(1) . `zstyle ':zftp:*' style value ...'. style value . zftp . (contexts) `:zftp:zfget': zfget `:zftp:*' . () . zftp_chpwd :zftp:zfopen :zftp:zfcd . : progress zftp_progress . `none` `bar` (inverse video) `percent` ( ) . $COLUMNS ( ). bar percent . zfinit :zftp:* `bar` . update . $ZFTP_TIMEOUT . progress zfinit 1 . remote-glob `1` `yes` `true` ( globbing) zsh . titlebar `1` `yes` `true` zftp_chpwd xterm sun-cmd . progress zfinit 1 . chpwd `1` `yes` `true` zftp_chpwd chpwd . zftp_chpwd chpwd . zfinit chpwd 1 . zfconfig . . (Remote globbing) (globbing) -G . . zsh ( EXTENDED_GLOB) . . . ( ) zfcd . remote-glob ( ) : . glob . . zfopen zfopen ( zfanon ). . . . ( ). ( timeout) . -1 zfopen zfanon . (one-shot) . zfdir . zfdir zfget . zfstat . : Session: default Not connected. Last session: ftp.bar.com:/pub/textfiles zfget file.txt ftp.bar.com /pub/textfiles/file.txt . zfcd .. /pub . . (Completion) . compctl zfinit Completion/Zsh/Command/_zftp . zsh 5.9.2 July 12, 2026 ZSHZFTPSYS(1)