upload or download files from remote host those are behind firewall and execute commands.
You need to first connect to the gateway and from there access the server within the network.
This script will allow you to connect to any server using web interface. You do not need putty or FTP client, nor complicated scripts. A simple form is enough that can be hosted anywhere.
Exaxmple can be found here....