|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-03-28 10:32 UTC] tony2001@php.net
[2006-03-28 13:39 UTC] sos at sokhapkin dot dyndns dot org
[2006-04-10 11:59 UTC] sniper@php.net
[2006-10-16 15:08 UTC] iliaa@php.net
[2006-10-24 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 20:00:01 2025 UTC |
Description: ------------ The following code fails with "fwrite failed" message if php is configured with "--with-curlwrappers" option. <?php $h=fopen("ftp://user:password@server/tmp/test", "w"); if(!$h) die ("fopen failed"); if(!fwrite($h, "asd")) die ("fwrite failed"); fclose($h); ?> Reproduce code: --------------- See description Expected result: ---------------- FTP is OK Actual result: -------------- "fwrite failed" message. The code runs OK if PHP is configured without "--with-curlwrappers" option.