1--TEST--
2Testing ftp_rawlist returns false on server error
3--CREDITS--
4Rodrigo Moyle <eu [at] rodrigorm [dot] com [dot] br>
5#testfest PHPSP on 2009-06-20
6--SKIPIF--
7<?php
8require 'skipif.inc';
9?>
10--FILE--
11<?php
12require 'server.inc';
13
14$ftp = ftp_connect('127.0.0.1', $port);
15ftp_login($ftp, 'user', 'pass');
16if (!$ftp) die("Couldn't connect to the server");
17
18var_dump(ftp_rawlist($ftp, 'no_exists/'));
19?>
20--EXPECT--
21bool(false)
22