Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8714673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:39:18+00:00 2026-06-13T05:39:18+00:00

Our customers run our php program on their own server. Some are Linux, some

  • 0

Our customers run our php program on their own server. Some are Linux, some are Windows. To update the program I use ftp. Recently I’ve changed the FTP server, i.e. the physical machine running the server.
Now some of our customers experience troubles if they want to update. If they execute a testskript they get following message:

Warning: ftp_get() [function.ftp-get]: Opening BINARY mode data connection for _testupdate.txt (68 bytes). in C:\Programme\Zend\Apache2\htdocs_testupdate.php on line 65

I’ve tried to download the file via passive and active mode and also with ASCII and BINARY mode… . But nothing changes. Here is the code:

    echo "<br> Testfilegröße wurde richtig ermittelt.";
    $bstat = ftp_get ( $conn_id, "_testupdate.txt", "_testupdate.txt", FTP_BINARY);     #FTP_ASCII oder FTP_BINARY
    $exists = file_exists("_testupdate.txt");

At first I thought that the firewall could cause the problem, but this seems unlikely, because the testscript can connect and login to the ftp server
Has somebody an idea what I can try to solve the problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T05:39:20+00:00Added an answer on June 13, 2026 at 5:39 am

    Try this:

    ftp_pasv($conn_id, TRUE);
    

    Helps if a firewall is indeed the culprit.

    Otherwise, make sure your file is indeed binary or ASCII. This error would be thrown in the wrong case.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm preparing to create a WCF Service which our customers can use to update
I run a DV 3.5 server on MediaTemple with Linux CentOS 5, php and
some of our customers have Quick book online and some of our customers have
My company has a ClickOnce application that has been in use with our customers
I have a little payments webApp, our customers can install it on their IIS
Recently our customers started to complain about poor performance on one of our servers.
I am using SQL 2005. For one of our customers, we run a script
We can’t just leave our customers that are not able to upgrade to windows
We sell packaged Java web applications to some of our customers. It's basically a
Our application is a Windows client (C++/MFC migrating to C#) that uses SQL Server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.