How to send/transfer/moving files between servers programmatically without scp or rsyn commandc?

Is there a way to copy/send/transfer files from one server to another programmatically (using nodejs/scala/python) without SCP or RSYNC ?