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:
 => 215 UNIX Type: L8
The response from my 'supposed' windows server is:
 => 215 UNIX emulated by FileZilla
Presumably, this isn't a true windows server.
Here's the code:
// 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
If anyone has FTP access to a windows/iis server, I would be most grateful to know what the response to my code is.