Posts by Gerson Nunes Ferreira • 1 point
1 post
-
-1
votes4
answers1914
viewsA: Check if a file exists on the remote machine via FTP in PHP
You can use ftp_mlsd which will return the list of files and directories. Then just go through this list and check if the desired directory is contained in it.