Is there possible way to download files if we only know the directory name? : We have following requirements.

Two zip files and Two images are in https://example.com/directory. (Since index.php file is avlable in this directory we don't know the file names of those files).

Is there any possible way to find names of above two files using PHP or Linux commands?