I spend some time trying to discover alternatives. I finally discovered Rsync, a nice protocol to transfer files which were also supported by my Server/receiver where I wanted my files to be transferred.
So, I wrote this small script and thought I would share it.
rsync –compress –recursive –checksum upload_folder/ firstname.lastname@example.org:deploy_location/
This is a simple and easy way to upload file, you can edit the flags according to your needs
Thank you for reading.