Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CFFTP - Server 2008

Guest
Apr 16, 2009 Apr 16, 2009

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.

TOPICS
Advanced techniques
1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Apr 16, 2009 Apr 16, 2009

Windows 2008 is notorious for locking everything down.

The first place I would look is that the FTP ports are open and available.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 18, 2009 Apr 18, 2009

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 28, 2009 Apr 28, 2009

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 30, 2009 Apr 30, 2009

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 30, 2009 Apr 30, 2009

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 30, 2009 Apr 30, 2009
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources