|
Posted by <a> on 09/28/80 11:42
I'm trying to convert all of my ftp connections to secure ftp connections.
I have a small php script that uploads a file once an hour via FTP. from my
computer, i can connect to the server via secureftp, so i'm trying to do the
same thing via php. i change my ftp_connect() command to ftp_ssl_connect().
The connection works, but when i try ot upload a file it says:
"ftp_put(): I won't open a connection to _internal_ip_ (only to
_external_ip_) in script.php on line 31"
I know this is because i'm doing NAT on my network. is there a way to fix
this either in PHP or via the cablemodem router? i have access to iptables
on the router if need be.
Thanks,
Navigation:
[Reply to this message]
|