Data transfer to user provided FTP

Sometimes user outside sweden have problem with accessing data in UPPMAX, so they ask to upload the data in a FTP server which they setup. This is a standalone script which can be run and it uploads the data preserving the tree structure. 

Though its not more often, it might come handy when the occasion comes and save lot of time in writing a script again. 
This format is not preserved in the `help` output i.e. I expect it to print as such but it collapses the `yaml` format and prints as one line. Any suggestions ?