Changes between Initial Version and Version 1 of Ticket #51170, comment 19
- Timestamp:
- 03/26/2022 06:05:06 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #51170, comment 19
initial v1 17 17 // Run NLST on the directory. 18 18 $dir = dirname( $file ); 19 $files = ftp_nlist( $this->link, dir ); 19 20 // Run with '-a' flag to include hidden files. 21 $files = ftp_nlist( $this->link, '-a ' . dir ); 20 22 21 23 return $files && in_array( $file, $files, true );