#!/bin/sh # Declaire variables USERNAME="" PASSWORD="" SERVER="" # local directory to pickup file(s) FILE="/path_to_file" # remote server directory to upload file(s) BACKUPDIR="/path_to_store_file" # login to remote server ftp -vni $SERVER <