#!/bin/bash
ftp -n 192.168.1.1 <<!
user myusername mypassword
bin
prompt
mput *`date +%Y-%m-%d`*
quit
!