Hi,
I have a working version of an FTP script which logs in and pushes a specific file to my FTP server. In upgrading the webserver to a faster machine, the same script now continues to fail. It still connects, creates a file, and writes about 90% of the actual file size to the FTP server and then hangs for a couple minutes before timing out. It appears to be a firewall issue on the client side which is dropping a packet but I can't find what exception I am missing in my windows firewall to make this work. I have compared all the exceptions I have on the new server with those from the old server and they are identical. If I turn off the client side firewall, then everything works properly. When I turn it back on I get the following in the log file -
2009-07-20 17:45:01 DROP TCP xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx 20 5001 40 FA 2071105281 2690579481 65535 - - - RECEIVE
2009-07-20 17:45:07 DROP TCP xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx 20 5001 40 FA 2071105281 2690579481 65535 - - - RECEIVE
Included in my list of exceptions are:
windows/system32/ftp.exe
Port 20, 21 TCP
I have also tried adding - ftp_pasv($conn_id, false); - to my code to force a non-passive connection but get the same result.
So my question would be is PHP utilizing the windows ftp.exe to initiate these sends, or is there something I should be adding to the exception list under the PHP install directory? Has anyone else seen this before?
Any help would be much appreciated - Thanks.
Brad
FTP PUT
Moderator: General Moderators