Click here to Skip to main content
15,921,577 members
Home / Discussions / C#
   

C#

 
GeneralRe: Read/Write a file on remote pc Pin
CWIZO7-Sep-06 23:11
CWIZO7-Sep-06 23:11 
GeneralRe: Read/Write a file on remote pc Pin
saqib827-Sep-06 23:14
saqib827-Sep-06 23:14 
GeneralRe: Read/Write a file on remote pc Pin
CWIZO7-Sep-06 23:15
CWIZO7-Sep-06 23:15 
GeneralRe: Read/Write a file on remote pc Pin
saqib827-Sep-06 23:45
saqib827-Sep-06 23:45 
GeneralRe: Read/Write a file on remote pc Pin
CWIZO8-Sep-06 1:32
CWIZO8-Sep-06 1:32 
AnswerRe: Read/Write a file on remote pc Pin
Dave Kreskowiak8-Sep-06 2:58
mveDave Kreskowiak8-Sep-06 2:58 
QuestionFile transfer Pin
AB77717-Sep-06 18:57
AB77717-Sep-06 18:57 
AnswerRe: File transfer Pin
Niiiissssshhhhhuuuuu7-Sep-06 19:48
Niiiissssshhhhhuuuuu7-Sep-06 19:48 
Hi,


System.IO.FileStream fstream = new System.IO.FileStream(filename, System.IO.FileMode.Open, System.IO.FileAccess.Read);
byte[] buffer = new byte[fstream.Length];
fstream.Read(buffer, 0, buffer.Length);
fstream.Close();
//writing to the network stream//
outStream = this.Client.GetStream();
for (int i = 0; i < buffer.Length; i++)
{
//outStream.Write(buffer, 0, buffer.Length);
outStream.WriteByte(buffer[i]);
}
I have used this and its working correctly....Cool | :cool: Cool | :cool:

nishu
GeneralRe: File transfer Pin
AB77717-Sep-06 20:16
AB77717-Sep-06 20:16 
AnswerRe: File transfer Pin
Niiiissssshhhhhuuuuu7-Sep-06 21:42
Niiiissssshhhhhuuuuu7-Sep-06 21:42 
GeneralRe: File transfer Pin
AB77717-Sep-06 22:00
AB77717-Sep-06 22:00 
AnswerRe: File transfer Pin
Niiiissssshhhhhuuuuu10-Sep-06 17:47
Niiiissssshhhhhuuuuu10-Sep-06 17:47 
GeneralRe: File transfer Pin
AB777110-Sep-06 18:23
AB777110-Sep-06 18:23 
Questionfolder and file difference Pin
chandler837-Sep-06 18:50
chandler837-Sep-06 18:50 
AnswerRe: folder and file difference Pin
mikone7-Sep-06 21:18
mikone7-Sep-06 21:18 
AnswerRe: folder and file difference Pin
Stefan Troschuetz7-Sep-06 21:48
Stefan Troschuetz7-Sep-06 21:48 
GeneralRe: folder and file difference Pin
chandler838-Sep-06 0:52
chandler838-Sep-06 0:52 
Questionhow to create a mobile application in C#? Pin
yousafzai7-Sep-06 18:04
yousafzai7-Sep-06 18:04 
AnswerRe: how to create a mobile application in C#? Pin
Nader Elshehabi7-Sep-06 18:19
Nader Elshehabi7-Sep-06 18:19 
GeneralRe: how to create a mobile application in C#? Pin
yousafzai7-Sep-06 18:24
yousafzai7-Sep-06 18:24 
AnswerRe: how to create a mobile application in C#? Pin
Not Active7-Sep-06 18:29
mentorNot Active7-Sep-06 18:29 
QuestionProblem With ListBox Horizontal Scrollbar Pin
Aslam Bari7-Sep-06 17:30
Aslam Bari7-Sep-06 17:30 
AnswerRe: Problem With ListBox Horizontal Scrollbar Pin
Nader Elshehabi7-Sep-06 18:14
Nader Elshehabi7-Sep-06 18:14 
AnswerRe: Problem With ListBox Horizontal Scrollbar Pin
Aslam Bari8-Sep-06 20:21
Aslam Bari8-Sep-06 20:21 
QuestionRegistry Scan Pin
oskardiazdeleon7-Sep-06 16:45
oskardiazdeleon7-Sep-06 16:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.