Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need to make a 'simple' ftp client/server coded in java, only problem is i know very little java and even less about socket programming so

Need to make a 'simple' ftp client/server coded in java, only problem is i know very little java and even less about socket programming so after failed attempts at trying to research how to do this, i ended up here. instructions quoted below.

"You are asked to develop a simple file transfer protocol. The protocol is based on client-server architecture. The client will connect to the server, sending user name and password for authentication (No encryption needed. Sending over plain TCP connection is fine). After passing authentication, the client will be able to download/upload files, list the files in the current directory at the server, and change the current directory to other directory at the server. After the client sends a request, the server should respond with some information to indicate if the request is processed or not. The server should also be able to serve another client after the current client logout. You are required implement BOTH client and server sides. And your protocol should be able to transfer BOTH ASCII and binary files. You may refer to the FTP protocol for possible design options and typical commands. But no need to strictly follow or fully implement the FTP protocol. You can design your own protocol. No GUI is required. A command line based UI is good enough.

ONLY use bare socket programming (NOT allow any other supportive libraries/packages such as HTTP or FTP classes)."

it is assumed that we only have one computer to run both the server and the client so the use of localhost instead of specific ip addresses is recommended.

thanks in advance to anyone who takes the time to answer this.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago