CAN'T CHANGE THE TOPIC NAME*** I'm using "zip" instead
Hi. I'm trying to make my script use "zip" and i want it to compress all the files in a directory to individual zip files... but i can't really figure out how. i have googled around. tried some different things... but i can't get it to work. It doesn't do anything after "exit" when i run the script.
And yes the rest of the script works as it should.
script:
#!do not change below
cd $LOCAL
ftp -n $HOST <<SCRIPT
user $USER $PASSWD
prompt
binary
cd $REMOTE
mget -f $FILES
exit
cd $LOCAL
zip *.txt
SCRIPT