I set up my IIS Server in Windows and set a list of folders that should only be downloaded. Now i connected to the server using php too.
$username=$_POST["username"];
$password=$_POST["paswd"];
$host="localhost";
$ftpcon= ftp_connect($host) or die("could not connect");
$login=ftp_login($ftpcon,$username,$password);
Now what i want to list is the windows directory. That will help me navigate like the file explorer in windows. Would you mind giving me some help here