Welcome to Dream.In.Code
Getting C# Help is Easy!

Join 136,511 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 1,744 people online right now. Registration is fast and FREE... Join Now!




File transfer

 
Reply to this topicStart new topic

File transfer

king of loop
14 Aug, 2008 - 06:08 AM
Post #1

New D.I.C Head
*

Joined: 15 Jun, 2008
Posts: 16



Thanked: 1 times
My Contributions
Hi
I would like to send a file through socket to an other computer; An example of that code is below

while(totalsent<fileLengh)
{


,//splitting the file in to smaller bits and sending and have it assembeled again once it has reached the reciever
socket.send(splitted file)
}

how can I achieve this ,any ideas
User is offlineProfile CardPM
+Quote Post

modi123_1
RE: File Transfer
14 Aug, 2008 - 07:07 AM
Post #2

D.I.C Addict
Group Icon

Joined: 12 Jun, 2008
Posts: 531



Thanked: 13 times
Dream Kudos: 100
My Contributions
FYI you can do this via FTP as well...

The top link here should help out:
http://www.google.com/search?hl=en&q=c...t+file+transfer

http://www.csharphelp.com/archives2/archive335.html

This post has been edited by modi123_1: 14 Aug, 2008 - 07:07 AM
User is online!Profile CardPM
+Quote Post

king of loop
RE: File Transfer
15 Aug, 2008 - 06:06 PM
Post #3

New D.I.C Head
*

Joined: 15 Jun, 2008
Posts: 16



Thanked: 1 times
My Contributions
Hi,

thanks for your reply. i don't want send a larg file. i just want simply splitting a file (no matter larg or small) and send it byte to byte .
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 08:56PM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month