Copy link to clipboard
Copied
Hello,
I have a file that ftp's a file from an external server using cfftp. The same exact file running on a Windows Server 2000 machine works fine. On a Windows Server 2008 machine the file just hangs and the "downloaded" file stays at 0 Kb and open by ColdFusion so it can't be deleted without restarting CF.
This is using CF8 and both machines are on the same network through the same router. Does anyone know of special permisions or settings that need to be done for this to work on Server 2008?
Thank you.
Copy link to clipboard
Copied
Windows 2008 is notorious for locking everything down.
The first place I would look is that the FTP ports are open and available.
Copy link to clipboard
Copied
Thank you for your help. However, we do have an FTP server running on the machine and the ports are open on the router. Also Windows Firewall is disabled. Any ideas as to where else Win 2008 Server would need to be opened for this?
Thannk you
Copy link to clipboard
Copied
Have you checked to see if the windows account that CF is running under on your windows 2008 machine has write access to that directory?
Copy link to clipboard
Copied
CF is running under the Local Account. The folders have write access for the admin and the system accounts. Should there be anything else?
Thank you
Copy link to clipboard
Copied
Maybe try and install a 3rd party FTP program on the CF server using the same user account - if you get the same issue you can narrow the problem down to a transmission error based on your server settings and not a CF-specific problem. Might help narrow down the culprit.
Copy link to clipboard
Copied
It looks like the problem was that I was not using PASSIVE="YES". On the Win 2K server the same code worked fine but on the Win 2K8 server it required the file to be FTP'd with passive mode.