Click here to Skip to main content
12,754,391 members (29,622 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#
hi i would like to know how to send files such as image or video from server to client in c# window forms.
Posted 16-Feb-13 3:04am
source.compiler 16-Feb-13 8:34am
simple way is send the adress of video as string stream to client and client download it with some high level classes in System.Net as Weblient which is include DownloadFile method !
source.compiler 16-Feb-13 9:10am
instead of send file itself, send its url to client then with this download it :
Member 9839800 16-Feb-13 9:13am
thanks i will try it
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Have a look at following articles:
File Transfer Program using C#.Net Windows Application[^]
A Client Server File Sharing Application [^]

Try out, post specific issue if you face any.
Sandeep Mewara 16-Feb-13 8:32am
Monjurul Habib 17-Feb-13 6:22am
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Sergey Alexandrovich Kryukov 17-Feb-13 11:37am
You are welcome.
Will you accept the answer (formally, green button)?

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
Web02 | 2.8.170217.1 | Last Updated 16 Feb 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