easiest way i know to debug FTP is with good old telnet. just type telnet yourserver.com 21
If there is a firewall in the way you will get a time out. If not you can login with
user youname
pass your pass
btw if you have access to the FTP server's log file that will probably tell you what's happening or not happening.
all the best
Phil Ewington - 43 Plc wrote:
I can still connect to the ftp server from my client machine using any number of FTP apps, I also created an ftp test tool, on the same server as I am currently having problems, that lets you enter an ftp host, username & password to see if it can connect and login.
I can login to other ftp servers just not the one I want to. Strangely I managed to get a connection to the suspect ftp server a couple of times then nothing again. Seems to be an intermittent problem, but it would be nice to know whether it was a connection that was being dropped by the remote server or whether there were network issues that stopped the request reaching the target server.
Phil.
-----Original Message----- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: 10 October 2003 17:51 To: [EMAIL PROTECTED] Subject: Re: [PHP] ftp_connect() issues
On Saturday 11 October 2003 00:01, Phil Ewington - 43 Plc wrote:
A script that has been running successfully for over 18 months hassuddenly
stopped working due to ftp_connect() failing. I have been assured that
nothing has changed on the ftp server so now need to try and find out why
this is happening.
And have you verified that you can still connect to the ftp server via other means?
And have you verified that the script can connect to other ftp servers?
-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha/megaupload/ Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php