Remote Web Development Job In IT And Programming

Basic Socket API program to make simple file transfer sys using C and python/java.

Find more Web Development remote jobs posted recently Worldwide

I am creating a basic file transfer system to test out. If this works well, will be following up with a bigger/more in depth project. FYI: ftserver has to be in C and ftclient in java or python.

Design and implement a simple file transfer system, i.e., create a file transfer server and a file transfer client. Write the ftserver and the ftclient programs. The final version must do:
1. ftserver starts on Host A, and validates command-line parameters ().
2. ftserver waits on for a client request.
3. ftclient starts on Host B, and validates any pertinent command-line parameters.
4. ftserver and ftclient establish a TCP control connection on . (call this connection P)
5. ftserver waits on connection P for ftclient to send a command.
6. ftclient sends a command (-l (list) or -g (get)) on connection P.
7. ftserver receives command on connection P.
If ftclient sent an invalid command
- ftserver sends an error message to ftclient on connection P, and ftclient displays the message on-screen.
otherwise, ftserver initiates a TCP data connection with ftclient on . (Call this connection Q)
- If ftclient has sent the -l command, ftserver sends its directory to ftclient on connection Q, and ftclient displays the directory on-screen.

- If ftclient has sent -g , ftserver validates FILENAME, and either
- sends the contents of FILENAME on connection Q. ftclient saves the file in the current default directory (handling duplicate file name error if necessary), and displays a transfer complete message on-screen
or
- sends an appropriate error message (File not found, etc.) to ftclient on connection P, and ftclient displays the message on-screen.
- ftserver closes connection Q (dont leave open sockets!).
8. ftclient closes connection P (dont leave open sockets!) and terminates.
9. ftserver repeats from 2 (above) until terminated by a supervisor (SIGINT).

What I need:
- ftserver must be written in C.
- ftclient must be written in Java or Python.
- document every 2-3 lines a comment describing what is being done.
- has to run on a unix server.
o I will checkout the program via opening two instances of the shell on different servers and run each program, one to run the server and the second to run the client.
- Dont want any sendfile or predefined functions.
- Has to send a complete text file. Dont worry for an out of memory error.
- Assume same directories in program runs, no need to hardcode any directories.
- Id like the files sent in a .zip file with a README with instructions to compile and run the server and client.
About the recuiter
Member since Sep 17, 2017
Rucha Saxena
from Singapore, Singapore

Skills & Expertise Required

C Java Network Programming Python 

Candidate shortlisted and hiredHiring open till - Oct 29, 2019

Work from Anywhere

40 hrs / week

Fixed Type

Remote Job

$104.24

Cost

Looking for help? Checkout our video tutorial
How to search and apply for jobs

How to apply? Do you have more questions about the Job?
See frequently asked questions

Similar Projects

Need Python developer to create multiple linear regression model using sci-kit learn

Need help on a program to output multiple linear regression model using sci-kit learn. Need to add Twitter sentiment as a feature into model using VADER sentiment analysis. See TODO section in attached code. I have sample implementation of this featu...read more

Post finished WebApp to App Store (IOS Only)

We need a finished WebApp which has already been converted to APK and published on the google play store to be adapted and published to the Apple App Store.

The app will also need to be verified as working with some crucial features:
- A...read more

Web app developer

Create a catalog, basically a table that displays only selected data. Can use standard CMS (PHP or Java if available) or build UI and admin page from scratch.

Other functions needed:
User sign in, sign up
Shopping cart
Email shop...read more

Automatic Booking System

Hello,

We currently do most of our advertising via Facebook for our service-based business and are using amocrm to manage all of our enquiries. We are looking to dramatically increase our AdSpend and expect that we will be getting in excess...read more

PYTHON Process Scripting in Docker on Win10

Two Offline Win10 Python processes to operate in a docker container - Python experience required.
Docker experience required. MySQL experience required.
Win10 environment required. If you have not read the brief before responding we will not...read more