an upload script usign the sftp protocol to smoothie