RelativeResourceManager444

RelativeResourceManager444 - CprE 530 Lecture 23 Topics FTP...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
CprE 530 Lecture 23 Topics FTP General Countermeasures
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
FTP Command Action Authentication USER username Send the username to the server PASS password Send the user password to the server QUIT Finish session File Management CWD directory_name Change directory on the server CDUP Change to the parent directory on the server DELE filename Delete the file from the server LIST directory_name List the files on the server MKD directory_name Make a new directory on the server PWD Print the current directory on the server RMD directory_name Delete a directory from the server RNFR old_file_name Name of file on the server to be renamed RNTO new_file_name Name of file on the server to rename the file to Data Format TYPE (A, I) Set data transfer type, A=ASCII, I=Image Data port PORT 6 digit identifier Client sends the port number for the server to connect to for the data transfer PASV Server send the port number for the client to connect to for the data transfer File Transfer RETR filename(s) Transfer the file(s) from the server to the client using the data connection STOR filename(s) Transfer the file(s) from the client to the server using the data connection Miscellaneous HELP Server will return information
Background image of page 2
Response codes Code Response Status 1XX Positive Preliminary Reply – Indicates the server will respond with another response code before the client can continue. 2XX Positive Completion Reply – Indicates the command was successful and a new Code Response type X0X Syntax Error or unimplemented commands X1X Information – reply to a request for information command can be issued. 3XX Positive Intermediate Reply – Indicates the command was successful, but the action is held up pending receipt of another command from the client. 4XX Transient Negative Completion Reply – Indicates the command was not accepted, however the error is temporary. 5XX Permanent Negative Completion Reply – Indicates the command was not accepted. X2X Connections – Reply to a request for connection X3X Authentication – Reply to authentication commands X4X Unspecified X5X File System – Reply to file system based requests Common Response Codes Code Responses 150 Data connection will open 200 Command acknowledgement 220 Service ready 225 Data connection open 226 Closing data connection 230 User logged in 331 User needs password 425 Cannot open data connection 500 Syntax error 530 User login failure
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
FTP Client FTP Server Open TCP connection to server port 21 ftp spock.dougj.net 220 spock.dougj.net FTP server (Version 6.00LS) ready \r\n Connected to spock.dougj.ne
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 21

RelativeResourceManager444 - CprE 530 Lecture 23 Topics FTP...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online