You should be able to use sshfs to mount the remote folder locally, then usersync to move the files over. Might save some hassle. Best of luck,