Difference between file transfer with tls

I have next question:

In openfire settings exits option for filetransfer with proxy on other port. Is exits defference between normal filetransfer and via proxy port about safety? If use tls protocol, they both would work via secure connection?

Pls sorry my English, thanks