#!/bin/sh ftp hostname <<END_SCRIPT quote USER <username> quote PASS <password> cd /home/scripts get $FILE\_up\_test bye END_SCRIPT exit 0