apt-get install lftp
for i in $PACKAGE_PATH;do lftp ftp://user:password@IP/$(date +%Y%m%d)/<<! mput $i close bye ! done