|
-
November 13th, 2010, 10:59 AM
#1
C# transfer a file over network
I've been trying to implement this example for transferring files over a network (LAN & Internet)
http://www.dotnetspider.com/resource...prime-num.aspx
However, I run the program and it copies the file to my specified directory fine but transfers double the amount of bytes, doubling the file size and thus corrupting the file!
I have searched the net for what I need but can't find any decent tutorials that actually work,
Basically I want to have a server which can accept a connection, then send a particular file back to the user.
I assume I will want to use filestream for my transfers?
I'm still fairly new to C# but not to programming.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|