Find freelancers. Lose those costly delays.

With 1.7 million freelancers, we'll match you with the perfect talent.

or, Register with Elance »

Help on PHP ftp_fget error
Sign in to Add to Watch List

IT & Programming > Web Programming

View Change History

The client has made the following changes to the job.


Bidding period ended early.

Jan 17, 2013

Job Description

  |  Change History >>


  • Posted: Wed, Jan 16, 2013
  • Time Left: Closed
  • Location: Anywhere
  • Client prefers freelancers from:

    You are still able to submit a proposal for this job.

    The client prefers freelancers from
    a different location.

    You're still able to submit a proposal for this job, regardless of your location.
  • Start: Immediately
  • Budget: Not Sure
  • Fixed Price Job
  • Elance Escrow Protection
  • W9 Not Required
Sign in to view client's details

I am having a strange problem with a script that I have been running for a few months successfully to download FTP files from an FTP server.

It boils down to the ftp_fget statement that returns this error:

[type] => 2
[message] => ftp_fget(): File status okay; about to open data connection.
[file] => /ftp_fetch.php
[line] => 248

The line 248 in ftp_fetch.php has this statement:

$ftpTransfer = ftp_fget($ftpConnection, $fDst, $ftpPath, FTP_BINARY, 0);

I have verified that all the parameter values valid. The connection is established without error.

From the Internet someone reported a similar (but not the same) issue with a code 150, but that error has to do with missing file or inaccessible FTP port, which is not the case here. When I manually log onto the FTP server using the same user credential I am able to download the same file that the script attempts to download.

I talked to the FTP provider who claimed that they have not changed anything on...

Sign in or Register to see more

Job ID: 36919626
Avg $ | High $ | Low $ — Show Pricing
  • Submit Date (Latest)

 Canada  |  
I was in the top 300 coders at the late vWorker. I specialize in writing/modifying custom code. I'm excellent at debugging existing apps. Seven...
 0.0   |  Private   |  0 Jobs
Bid ID: 36931067  |  Submitted: Jan 17, 2013 02:17 ET 
Proposal SEALED

 United States
I'm a professional programmer with over 15 years experience, covering a variety of technologies. I work regularly with PHP, Perl, C++, JavaScript...
 0.0   |  $0 Earnings   |  0 Jobs
Bid ID: 36924254  |  Submitted: Jan 16, 2013 21:30 ET 
Proposal SEALED

 Egypt  |  
HTML - CSS - PHP - ASP - ASP.net - IOS - Android - Dreamweaver - Adobe Photoshop - Browser compatibility (Firefox, IE, Opera, Safari, .....) -...
 0.0   |  $0 Earnings   |  0 Jobs
Bid ID: 36921097  |  Submitted: Jan 16, 2013 18:36 ET 
Proposal SEALED

 United States
I strive for clean, optimized code that promises security, and performance. I believe in strict coding ethics. I hope to provide you with the best...
 0.0   |  $0 Earnings   |  0 Jobs
Bid ID: 36919978  |  Submitted: Jan 16, 2013 17:36 ET 
Proposal SEALED
Elance is now an Upwork company.
Upwork is the choice of 4M+ clients. Get started working on Upwork today.
Are you ready to post a job like this one?
Post a Similar Job »