I was looking for some help with this in Python and actually that follows the sp
ID: 3790113 • Letter: I
Question
I was looking for some help with this in Python and actually that follows the specifications that the image provides. The client should be start designed with the command that is requested.
Overview: Understand TCP socket programing by developing a simplified FTP client that works with any standard FTP server. You must create your own socket, and cannot use any existing FTP library. You may use Python, Java, or C++/C as the programming language. The client should be designed to start by typing the command myftp server name where "server-name" is the name or lP address of the server. Next, display a prompt for entering the FTP user name, followed by a prompt for entering the password. After a successful login, the following commands should be available in the FTP client prompt: Command Function my ftp cd remote-path Change to the "remote-path" directory in the remote server myftp> get remote-file Download the file named "remote-file" from the remote server to the local machine with the same file name. myftp> put local-file Upload the file named "local-file" from the local machine to the remote server with the same file name. myftp> delete remote-file Delete the file named "remote-file" from the remote server. my ftp> quit Quit the FTP client All the above commands (including entering the user name and password) when executed should return a Success/Failure status. All the path names and file names should be considered relative to the current directory (unless absolute path name is given). After a successful file transfer, a success message should be displayed with the number of bytes transferred. Please run the Windows/Linux built-in command line FTP client to see the expected result of each command. You may test your client by connecting it to any standard FTP Server such as ftp.cis.fiu.edu or FileZilla Server (https://filezilla- project.org/download.php?type server) running on a Windows machine. References: Basic FTP Commands, http://www.cs.colostate.edu/helpdocs/ftp.html FTP RFC, http://www.ietf.org/rfc/rfc959.txtExplanation / Answer
main.py
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.