How to use Bash to upload a file via FTP

This script is a simple example how you can use Bash to upload one or more files to a FTP server.

 

I think the script is self explaining, if you have any questions you can contact me.