php & ftp server response
hi
i searched too much for ftp uploading in php but all the code i found was ftp_put which dosen't gives me the server response i get in ftp client
Code:
Command: USER [email protected]
Response: 331 User name okay, need password..
Command: PASS ********
Response: 230 Utilisateur anonyme loggue
Command: SYST
Response: 500 Commande inconnue
Command: FEAT
Response: 500 'FEAT': command unrecognized.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (212,27,63,241,146,46).
Command: LIST
Response: 150 Connexion au port 1371
Response: 226 OK
Status: Directory listing successful
Response: 226-nothing to be done here [1820]....
Response: 226
how can i get this response in php_ftp??