We send files to third parties with the task of PHP cron via FTP.
However, sometimes we get the following error:
ErrorException [ 2 ]: ftp_put(): php_connect_nonb() failed: Operation now in progress (115) ~ MODPATH/fileop/classes/Drivers/Fileop/Ftp.php [ 37 ]
When I say "sometimes," I mean just that; in most cases, it goes through a fine, but about 1 time in 5 times we get this error. This does not apply to the files themselves, because they will go happily if we try again.
We found similar problems on the Internet related to a bug in PHP with NAT devices or to setting up a firewall, but again it is understood that if this were the case, it would never work.
So, why does it work several times and not others?
Mikey c
source share