Bug #66581 [NEW]: ftp_connect fails if first connect of multiple addresses fails
From: jik at kamens dot us
Operating system: CentOS 6.5
PHP version: Irrelevant
Package: FTP related
Bug Type: Bug
Bug description:ftp_connect fails if first connect of multiple addresses fails
Description:
------------
I have PHP 5.3.3. It's the latest version available in CentOS 6.5 and
I'm not comfortable going to non-standard RPMs, so that's why I haven't
upgraded. It's really rude for your bug form not to accept a PHP version
that is so widely used by so many people.
If ftp_connect gets back multiple addresses when it resolves the host
name, and connecting to the first address fails, ftp_connect fails. It
should try all the addresses.
--
Edit bug report at https://bugs.php.net/bug.php?id=66581&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66581&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66581&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66581&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66581&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66581&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66581&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66581&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66581&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66581&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66581&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66581&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66581&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66581&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66581&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66581&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66581&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66581&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66581&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66581&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66581&r=mysqlcfg
Thread (3 messages)
- jik at kamens dot us