redirecting get command inside ftp client?

view story

https://bbs.archlinux.org – Is it possible to redirect get command inside ftp client?I was only able to do "get filename /dev/null" to redirect it to /dev/null.. However.. what if I want to redirect it to a compression or decompression utility?Example of ftp script I used:#!/bin/bash HOST='server-ip' USER='username' PASSWD='password' FILE=$1 ftp -i -n $HOST <<END_SCRIPT user ${USER} ${PASSWD} binary get $FILE quit END_SCRIPT exit 0The file I am trying to get is a compressed file, I would like to pipe it into decompression utility like gunzip. kdar https://bbs.archlin (HowTos)