Bug #1565 Updated: fopen not working with ftp files

From: Date: Tue, 22 Jun 1999 14:43:21 +0000
Subject: Bug #1565 Updated: fopen not working with ftp files
Groups: php.dev 
Request: Send a blank email to php-dev+get-7424@lists.php.net to get a copy of this message
ID: 1565 User Update by: support@elysium.demon.co.uk Status: Open Bug Type: Misbehaving function Description: fopen not working with ftp files We have found one of the problems, and fixed it in fopen-wrappers (1.60). Not all ftp servers (e.g. on SUNs) support the SIZE command, so you have to check the return codes in respect to this. Here is a diff of 1.60 and the fixed version of 1.60: 759c759 < if (result != 500 && result != 502 && (result > 299 || result < 200)) { --- > if (result > 299 || result < 200) { 769c769 < if (result != 500 && result != 502 && (result > 299 || result < 200)) { --- > if (result <= 299 && result >= 200) { 917d916 < Full Bug description available at: http://bugs.php.net/?id=1565

« previous php.dev (#7424) next »