There are several examples on how to send files using the winsock control (which i'm assuming that you're using). One such example that I found helpful is here. That example shows how to send files that are up to 2GB in size.