zsh and sftp



Hi, I'm running Fedora Core Linux 6 and using a zsh shell. This is
part of a script I have to FTP files ...

autoload -U zfinit
zfinit
zfparams ${FTP_HOST} ${FTP_USER} ${FTP_PASSWORD}
zfopen
zfcd ${FTP_DIR}
zfput -r *

Does anyone know how I can modify the above, or maybe use a different
script altogether so that I'm using SFTP instead of regular FTP?

Thanks, - Dave
.



Relevant Pages