File Transfer using TCP Socket in C | Socket Programming

preview_player
Показать описание
In this tutorial, you will learn how to perform a file (data) transfer over a TCP socket in C programming language. You will see how a client reads the data from a text file sends it to the server and then saves the data back into a text file. For this tutorial, I am going to use the TCP to establish the connection between the client and the server.

MY GEARS:

FOLLOW ME ON:
Рекомендации по теме
Комментарии
Автор

Thank you so much.
how can i send you money?
what u taught me was money worth and u deserve it

yonatan
Автор

Sir please share the code for Multiple Clients file transfer over UDP in C

sachcha_engineer
Автор

Awesome video! Very helpful. One question: assuming after the server receives the file from the client, I want to perform an operation on the received file like encryption, and send the encrypted file back to the client. How do I do this? For simplicity, lets assume a generic file is created from the server, how do I send it back. Thanks...

segunodunade
Автор

Hi!
How can we send file from server to client? can you please help me in this i want to send files in both ways? Please help me out

hassanraza
Автор

Hey just wonder how can you make this program transfer not only .txt file but all kinds of file? (like .jpg, .mp3, etc)
I heard of this thing called binary file but how should we implement binary file into this program

kaiyuangao
Автор

Hey how can we send images from client to server?

abhiramisv
Автор

I want to make a communication between 2 computers with p2p. How must I do?

phanbagiabao
Автор

how server will send data to client || please make a video on both side file transfer || thank you!!

codeu
Автор

Can you please suggest me, which function i can use to send a directory to server,
I'm also able to send single file only, but im not able to send multiple files of any directory. same process I'm following using Socket

PatelRaaj
Автор

how to send files like .png, .jpeg, .pdf?

akhilvegunta
Автор

Hi Do I need to open a new data connection after LIST to send a file in PASV mode or the data sockets remains opened on the "server" do I need to send another PASV command to retrieve a port for the file transfer

bpszbxy
Автор

thnx. And how to transfer other types of files?
I'v tryied to trasfer cat.jpg, but got only 1/3 of file size and it's broken

gromoblomov
Автор

Does this need any extra libraries or using built in functions...?

dileepaozi
Автор

Hello are you transferring files on the same machine(os) or between two os? I have an assignment that needs me to transfer file from client to server(upload) and server to client(Download) between two different machines like two different vm running linux on the same computer. Hoping you could assist me here :) Many thanks.

LYJManchesterUnited
Автор

you are weak in explanation but thank you because I will do it myself.👍🏻👍🏻

studyrelated
Автор

What software and what os were u using bruh?

frozennn_uwu
welcome to shbcf.ru