Upload a directory via SFTP or SSH via `flyctl sftp shell` command

I’m currently using flyctl sftp shell to get access to a theme directory on a Fly instance. My goal is to upload an entire theme directory. It seems flyctl only takes a few commands and shells when in shell mode. Is there any workarounds or alternate ways to upload entire directories?

Thank you

Archive, upload, extract approach works reasonably well.