Advertisement

10.09.2008 at 12:34PM PDT, ID: 23802198 | Points: 500
[x]
Attachment Details

PHP - FTP Not Working On New Windows 2003 Server

Asked by Sailo100 in PHP for Windows

I have just migrated to a new Windows 2003 server with a higher specification than the one I had before.  Everything is working perfectly except I cannot seem to FTP files from my server to FTP destinations out on the internet.

The problem is most definitely Windows firewall related as everything works perfectly when I disabled the firewall. I have therefore manually added exceptions for port 20 and port 21 in the firewall but it had no effect.

Strangely the FTP connects and the first file starts uploading but it always fails at the end of the file.  It is like there is never any confirmation that the file upload has completed.  Assumingly because the firewall is blocking the receiving part of the FTP.

Can anybody shed any light on what ports i need to allow through so that FTP works and i also have my firewall on?Start Free Trial
[+][-]10.11.2008 at 06:49AM PDT, ID: 22693904

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628