I wrote some wrappers in BASIC for the ftp, sftp and scp commands. This way i can stabilize the interface for all 3 commands so that they all look identical even if they work in different ways. This should mean that I can pretty much swap any of the 3 functions for each other depending on what I need in that moment.
I also wrote command line routines to call these subroutines so now I can also use these commands in PROCs which is quite nice. If I can get a wrapper for tar as well, this will make a pretty good backup solution written entirely in a PROC!