Can someone give me some information, and sample code for a situation where a user request a file and another user sends them it?

Thanks,
MasterGoon