You are here: secure ftp upload behind a firewall « All PHP « IT news, forums, messages
secure ftp upload behind a firewall

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация