sending file from server to client

hi dear i m very new to socket programing .
i need the source code which sends file from server to client .
i mean both server n client programe which sends file .
can u do this for me please
my email id is email id removed
regards bilal

bilal, before posting, please read the rules. You have violated several of them here straight off.

(5) Search the forums database with your keywords before asking - there have probably been several threads that have discussed this before. You may not get the full source there, but you will get enough to get the solution on your own

(6) Do not post classroom or homework problems - this is clearly a homework problem

(10) Don't post your email address and ask for an email reply. Don't send a private message with a technical question. The forums are for the benefit of all, so all Q&A should take place in the forums - I have edited the post to remove your email address. I also got a PM with the same question

I am locking this thread. Consider this to be your first and only warning. Any more homework posts will result in a ban.