Ilia, Tony)
- Fixed bug #43495 (array_merge_recursive() crashes with recursive arrays).
(Ilia)
+- Fixed bug #43498 (file_exists() on a proftpd server got SIZE not
+ allowed in ASCII mode). (Ilia, crrodriguez at suse dot de)
- Fixed bug #43493 (pdo_pgsql does not send username on connect when password
is not available). (Ilia)
- Fixed bug #43482 (array_pad() does not warn on very small pad numbers).
ssb->sb.st_mode |= S_IFDIR;
}
+ php_stream_write_string(stream, "TYPE I\r\n"); /* we need this since some servers refuse to accept SIZE command in ASCII mode */
php_stream_printf(stream TSRMLS_CC, "SIZE %s\r\n", (resource->path != NULL ? resource->path : "/"));
result = GET_FTP_RESULT(stream);
if (result < 200 || result > 299) {