Skip to content

C++ programs to transfer a Text file from server to client using TCP

Notifications You must be signed in to change notification settings

Wizardous/TCP-File-Transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP-File-Transfer

C++ programs to transfer a Text file from server to client using TCP

Basic Instructions

The CPP files were compiled and ran on Ubuntu [WSL].

Direction of file Transfer: Server to Client.
The path of text file to send can be changed in the file_server.cpp on line 37.

NOTE: The char array buffer in file_client.cpp is default to 1KB, you may need to increase the file size as per the larger file's size.

References for function used in the code...

Socket Program basics

File handling

Good luck!

About

C++ programs to transfer a Text file from server to client using TCP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages