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

CFFTP - Server 2008

Guest
Apr 16, 2009 Apr 16, 2009

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.

TOPICS
Advanced techniques

Views

942

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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

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

Votes

Translate

Translate

Report

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

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?

Votes

Translate

Translate

Report

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

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

Votes

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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
Documentation