From: Zoe Slattery Date: Wed, 31 Dec 2008 20:06:26 +0000 (+0000) Subject: new test from Nat Mcugh X-Git-Tag: php-5.3.0beta1~319 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d246c060b76385426780345957b4547984fbde1;p=php new test from Nat Mcugh --- diff --git a/ext/ftp/tests/ftp_fget_basic.phpt b/ext/ftp/tests/ftp_fget_basic.phpt new file mode 100644 index 0000000000..d736f8c45e --- /dev/null +++ b/ext/ftp/tests/ftp_fget_basic.phpt @@ -0,0 +1,43 @@ +--TEST-- +FTP ftp_fget file for both binary and ASCII transfer modes +--CREDITS-- +Nathaniel McHugh +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +bool(true) +bool(true) +For sale: baby shoes, never worn. +bool(true) +string(21) "BINARYFoo%00Bar%0D%0A" + +Warning: ftp_fget(): a warning: No such file or directory in %sftp_fget_basic.php on line %d