I created a socket.port no 21 meaning ftp client.
I am sending some stings and receviing some data from server.Fine.
But I want to send a file some x.c to host using socket.
Please can someone help me whether we can do it or not.
If we can how can we send a file.I was only able to send buffer and data but not a file.Please if possible can you help me with example.