I searched a lot but couldn't find a code that worked. Essentially, I want to read the files in a folder (abc.com/folder) which has directory listing enabled using a code hosted on xyz.com. The folder is password protected (htaccess) and asks for username and password before the directory listing can be accessed.
Any help is appreciated, thanks.