Find more Web Development Remote Jobs posted recently Worldwide

Required C,Java,Network Programming,Python freelancer for Basic Socket API program to make simple file transfer sys using C and python/java. job

Posted at - Jan 2, 2019


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 (don't leave open sockets!).
8. ftclient closes connection P (don't 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.
- Don't want any sendfile or predefined functions.
- Has to send a complete text file. Don't worry for an out of memory error.
- Assume same directories in program runs, no need to hardcode any directories.
- I'd like the files sent in a .zip file with a README with instructions to compile and run the server and client.

About the recuiterMember 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.40
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


Apply on more work from home jobs posted in Web Development category.


Related Jobs


Latest In C Jobs


Latest In Java Jobs


Latest In Network Programming Jobs


Latest In Python Jobs