Click here to Skip to main content
15,919,479 members
Home / Discussions / C#
   

C#

 
AnswerRe: BackgroundWorker ? Pin
Robert Rohde7-Oct-06 22:47
Robert Rohde7-Oct-06 22:47 
GeneralRe: BackgroundWorker ? Pin
Christian Graus7-Oct-06 23:09
protectorChristian Graus7-Oct-06 23:09 
QuestionNetwork management with C# .NET? Pin
Asad_N7-Oct-06 17:01
Asad_N7-Oct-06 17:01 
AnswerRe: Network management with C# .NET? Pin
Ray Cassick7-Oct-06 17:09
Ray Cassick7-Oct-06 17:09 
GeneralRe: Network management with C# .NET? Pin
Asad_N7-Oct-06 17:38
Asad_N7-Oct-06 17:38 
AnswerRe: Network management with C# .NET? Pin
yoaz7-Oct-06 22:44
yoaz7-Oct-06 22:44 
AnswerRe: Network management with C# .NET? Pin
spiritboy10-Jul-09 6:59
spiritboy10-Jul-09 6:59 
QuestionEditing a file over FTP Pin
Anthony Mushrow7-Oct-06 15:08
professionalAnthony Mushrow7-Oct-06 15:08 
Well with how well HttpWebRequest worked reading a file, i though FTP would be just a s easy, not quite so, i have:

FtpWebRequest request =(FtpWebRequest)WebRequest.Create(@"ftp://address/1.txt");<br />
request.Credentials = new NetworkCredential("username", "password");<br />
request.Method = WebRequestMethods.Ftp.AppendFile;<br />
Stream FS = request.GetRequestStream();<br />
StreamReader SR = new StreamReader(FS, true);<br />
string line = SR.ReadLine();


I imagined that that would read the file, i was wrong, says that the stream is not readable.

So apart from the not being able to read the file, i need to be able to edit the file, and there would be the possibility of multiple people trying to edit it at the same time, how would i do this?

(No two people would be editing the same line in the file, if that makes any difference at all)

So err, any help or suggestions would be great
AnswerRe: Editing a file over FTP Pin
Guffa7-Oct-06 20:39
Guffa7-Oct-06 20:39 
AnswerRe: Editing a file over FTP Pin
Daniel Monzert7-Oct-06 21:27
Daniel Monzert7-Oct-06 21:27 
QuestionUDP/IP sockets Pin
NaNg152417-Oct-06 10:21
NaNg152417-Oct-06 10:21 
QuestionInserting data from datagrid into Sql server Pin
engineer_ali7-Oct-06 7:46
engineer_ali7-Oct-06 7:46 
QuestionHow to print Datagrid in C# 2005 ? Pin
hdv2127-Oct-06 7:37
hdv2127-Oct-06 7:37 
AnswerRe: How to print Datagrid in C# 2005 ? Pin
Nader Elshehabi8-Oct-06 6:47
Nader Elshehabi8-Oct-06 6:47 
Questioncommand line usage of csc Pin
waheed awan7-Oct-06 7:16
waheed awan7-Oct-06 7:16 
AnswerRe: command line usage of csc Pin
Daniel Monzert7-Oct-06 21:20
Daniel Monzert7-Oct-06 21:20 
QuestionHelp - Send a File via Socket Pin
FlyOnIT7-Oct-06 5:49
FlyOnIT7-Oct-06 5:49 
AnswerRe: Help - Send a File via Socket Pin
Andrei Ungureanu7-Oct-06 7:34
Andrei Ungureanu7-Oct-06 7:34 
GeneralRe: Help - Send a File via Socket Pin
FlyOnIT7-Oct-06 8:31
FlyOnIT7-Oct-06 8:31 
GeneralRe: Help - Send a File via Socket Pin
Andrei Ungureanu7-Oct-06 8:51
Andrei Ungureanu7-Oct-06 8:51 
GeneralRe: Help - Send a File via Socket Pin
FlyOnIT7-Oct-06 10:09
FlyOnIT7-Oct-06 10:09 
GeneralRe: Help - Send a File via Socket Pin
FlyOnIT8-Oct-06 1:14
FlyOnIT8-Oct-06 1:14 
GeneralRe: Help - Send a File via Socket Pin
FlyOnIT8-Oct-06 8:52
FlyOnIT8-Oct-06 8:52 
Questionmicrosoft agent Pin
Mohammed Elkholy7-Oct-06 5:19
Mohammed Elkholy7-Oct-06 5:19 
QuestionHow do I submit a book review? Pin
Wolf927-Oct-06 5:12
Wolf927-Oct-06 5:12 

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.