Results 1 to 3 of 3
Hi ,
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-25-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 8
how to send a file using sockets ?
Hi ,
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.
Regards,
shaiva
- 06-25-2010 #2
well, add just another step to your send buffer functionality:
file => buffer => send
- 06-26-2010 #3


Reply With Quote

