On Tue, 2009-08-18 at 13:30 +0300, Ollisso wrote: > On Tue, 18 Aug 2009 13:00:37 +0300, Clancy <clanc...@cybec.com.au> wrote: > > > On Sun, 16 Aug 2009 23:24:05 -0600, george.lang...@shaw.ca (George > > Langley) wrote: > > > >> is_dir() > >> > >> <http://ca3.php.net/is_dir> > >> > >> is_file() > >> > >> <http://ca3.php.net/manual/en/function.is-file.php> > >> > > I specifically asked about FTP under PHP. As far as I can see neither > > of these references > > have anything to do with FTP. > > > > http://ca3.php.net/manual/en/wrappers.ftp.php > > Supports stat() No As of PHP 5.0.0: filesize(), filetype(), > file_exists(), > is_file(), and is_dir() elements only. As of PHP 5.1.0: filemtime(). > > should work if PHP >= 5.0.0 > > -- > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > That only works if you have used the file wrapper functions to open the remote FTP connection. Some FTP hosts don't support the use of these wrappers I believe also.
What is wrong with using ftp_rawlist() ? Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php