With 1.7 million freelancers, we'll match you with the perfect talent.
The client has made the following changes to the job.
Bidding period ended early.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
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