Advertisement Jump to content
Sign in to follow this  
Hermes

Sending files

This topic is 4927 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi . Do you know how to send files from a server to its clients ? I have poore knowledge on WinSocket but i really need this for a database project .The ideea is that the application needs to make a backup of the database whenever the client wants to,but the procedure is SQL so it runs on the server so the backup resides on the server side. I thought maybe i could transfer those files. Thanks a lot!

Share this post


Link to post
Share on other sites
Advertisement
Take a look at winsock function: TransmitFile
Seems to perform what you wish to do :)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/winsock_functions.asp

Hope it helps

Regards,
/Omid

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!