Wait… seeing If uniware ls out there..
bumper can see unaware
What type of transfer / receive mode ?
1. : Binary
2. : ASCII
Your choice [1…2] [1] :
Enter the name of the file to retrieve :gnutar. Z Enter the directory where the file ls to be placed[/tmp] :
Host to connect ls: uniware
File to get ls : gnutar.Z
Mode to use ls : binary
File to be put in : /tmp/gnutar.Z.ftp
Ready to get file 'y' or 'q' to quit? [y..q] :
Далее приводится соответствующий сценарий.
$ pg ftpauto
#!/bin/sh
#сценарий ftp
#ftpauto
USER=`whoami`
MYDATE=`date +%d/%m/%Y`
THIS_HOST=`hostname -s`
tracelog=/tmp/tracelog.$$
while :
do
# бесконечный цикл
tput clear
cat << MAYDAY
User: $USER $MYDATE
This host: $THIS_HOST
FTP RETRIEVAL SCRIPT
Using the ID of anonymous