Is sftp secure when using cloudflare?

I build an Application which captures screenshots and sends it to a WordPress website through sftp. I wonder how cloudflare can be used securely like this as it can be bypassed by this open port. Is using sftp on a cloudflare hosted website secure?

No answers yet