Changeset 25274
- Timestamp:
- 09/06/2013 08:28:59 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php
r23191 r25274 220 220 } 221 221 222 function exists($file) { 223 return $this->ftp->is_exists($file); 222 function exists( $file ) { 223 $list = $this->ftp->nlist( $file ); 224 return !empty( $list ); //empty list = no file, so invert. 225 // return $this->ftp->is_exists($file); has issues with ABOR+426 responses on the ncFTPd server 224 226 } 225 227
Note: See TracChangeset
for help on using the changeset viewer.