Gérer les cookies utilisés pour la publicité, tels que la personnalisation des annonces, le remarketing et l’analyse des performances des annonces.
2.5.2.10. Main FTP commands
ABOR— terminate file transfer.CWD— change the current (active) directory.DELE— delete a file.LIST— display the list of server files.MDTM— display the file modification time.MKD— create a directory.NLST— display a list of directory files (more concise thanLIST). The list is transmitted via the data connection (port21).PASS— transmit the password.PASV— switch to passive mode.PORT— enter active mode and specify the ports that will be used for data transmission.PWD— display the current directory.QUIT— disconnect, terminate the connection.RETR— download the file.RMD— delete a folder on the server.RNFRandRNTO— rename a file. Used as:RNFR original_file RNTO renamed_file.SIZE— return the file size.STOR— upload the file to the server.TYPE— set the file transfer type (binary, ASCII (text)).USER— send the username.APPE— append to a file on the server.CDUP— move to the parent directory. Similar to thecd ..command.HELP— displays text information to assist with server operations.NOOP— perform no operation (dummy command).STAT— display the current connection status with the server.STOU— upload unique files to the server. In this case, files with similar names are not transferred.STRU— set the file transfer structure.SYST— display information about the system (server).PBSZ— set the size of the protected buffer.OPTS— a command that invokes another optional command with a specified parameter. More details in RFC.AUTH— initiate the authorization and encryption operation.
FTP response codes
Attention!
The response text may be modified on the FTP server side, therefore it is simply impossible to specify general responses that will be applicable in all cases.The FTP response code is indicated by the last number in the log and consists of three digits. Each digit indicates a specific state of the command, which can assist in reading the response.
- The first digit:
1— the command has been accepted for execution but is not yet completed.2— the execution of the command was successfully completed.3— the command is accepted and some additional command is expected.4— at the moment, the command cannot be executed.5— inability to execute the given command.
- The second digit:
0— syntax error.1— informational message.2— the message pertains either to the control connection or to the data connection.3— message about user authentication and their rights.4— not used/not defined.5— message about the file system status.
- The third digit ultimately determines the state of the team.