Click here to Skip to main content
12,747,162 members (30,061 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB VB.NET
i have a chat application . the data has been transferred through database .. i need to send files also ...
Posted 8-Jan-13 19:15pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I think you want to send files between users. The files don't need to go in a DB, the most sensible thing is to send them directly, peer to peer, through your application, with the server telling the two instances the other users IP address.
fakeer muhammed 9-Jan-13 1:15am
We need a record of the sending files....... So it should go to DataBase........ CAn u give any coding for sending the Files Peer to Peer
Christian Graus 9-Jan-13 3:04am

There is a search box for articles on the top right...
tiggerc 9-Jan-13 3:24am
If you want to send files through a database you need a way to store the byte data in a database, which involves storing the file in a byte array and then writing a stored procedure to accept the byte array as an argument and store it in the databse.
Christian Graus 9-Jan-13 3:36am
Assuming he wants to send the actual files, then they need to go through the central server.
tiggerc 9-Jan-13 4:32am
Yes I agree but nothing to say that the central server couldn't post to the database then pass the other user a link to that file.
fakeer muhammed 11-Jan-13 23:30pm
i neeed to send a file as it does in skype or g talk

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170215.1 | Last Updated 9 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100