ftp_listing not working in PHP GAE
There is a bug where ftp_nlist() in PHP GAE fails to work sometimes.
This affects our applications. I have a scheduled task (cron) that will regularly check a remote FTP server for any new events and download the files. Yes, I am using ftp_pasv(). At the very least I'd like to know what's causing this error because the error returned is "unknown".
The error I keep seeing:
Warning: ftp_rawlist(): bind() failed: Unknown error 4294967295 (-1) in /base/data/home/apps/s~striped-antler-117423/1.391621080411061890/ftp.php on line 28
To fix this issue, You guys need to install a patch. Please go through the below link,
If you have any solution, Please let me know!
Hi, FYI the FTP protocol *is explicitly not supported* by the AppEngine socket API. You can see it on this page https://cloud.google.com/appengine/docs/php/sockets/#limitations_and_restrictions.
Sometimes it works but only because you were lucky and the socket API gave you the same IP for the communication socket and the data socket.