Reading from Remote Host

Hi

I have a different architecture for my perl application.
I have apache one server and data on another(not database).
i need to read the data from other machine and that too securely.
Also opening ports on apache machine is also restricted.
Can anyone help me on this

Try NET::sftp to bring files over to the perl machine. sftp does open ports.. but it is considered reasonably secure.

If zero ports allowed, try an NFS mount.

To improve security you can also reconfigure sftp server for different port than 21.