Help needed with PHP FTP function
I'm trying to determine what the following code returns when the server is a true windows/iis server.
The response from a linux server is:
The response from my 'supposed' windows server is:
 => 215 UNIX Type: L8
Presumably, this isn't a true windows server.
 => 215 UNIX emulated by FileZilla
Here's the code:
If anyone has FTP access to a windows/iis server, I would be most grateful to know what the response to my code is.
// make FTP connection
$conn_id = @ftp_connect($ftp_server) OR die("Unable to establish an FTP connection");
ftp_login($conn_id, $ftp_user, $ftp_pw) OR die("ftp-login failed - User name or password not correct");
ftp_pasv ( $conn_id, true ) or die("Unable to set FTP passive mode."); //Use passive mode for client-side action