I need to ftp via php through a firewall and then on to the remote host...here is the setup if you do it at the command line:
Server1 = 10.14.13.30
firewall = inet-gateway.domain.net
User: username
Passwd: password
Then once you login to the firewall, you have to go to the remote server:
User: username1
Password: password1
Host = 10.34.12.10
and at the firewall you have to use: username1@10.34.12.10
I tried a "top-down" two-step process in php, but it didn't work...I don't think I have the syntax correct for getting from the firewall to the remote host because of the user@host type connection.