Click here to Skip to main content
15,907,326 members
Home / Discussions / C#
   

C#

 
Generalextracting data into excel Pin
kate_shweta31-Oct-04 18:29
kate_shweta31-Oct-04 18:29 
QuestionHow to do this in C#? Pin
momer31-Oct-04 16:28
momer31-Oct-04 16:28 
AnswerRe: How to do this in C#? Pin
Stefan Troschuetz31-Oct-04 21:05
Stefan Troschuetz31-Oct-04 21:05 
GeneralPrint a String From Server Side C# Pin
macsgirl31-Oct-04 14:27
macsgirl31-Oct-04 14:27 
GeneralReflection help - child classes Pin
David Wengier31-Oct-04 14:22
David Wengier31-Oct-04 14:22 
GeneralRe: Reflection help - child classes Pin
David Wengier31-Oct-04 17:04
David Wengier31-Oct-04 17:04 
GeneralDownloader and Install files from the WEB (Like the Windows Updates) Pin
programming31-Oct-04 12:04
programming31-Oct-04 12:04 
GeneralRe: Downloader and Install files from the WEB (Like the Windows Updates) Pin
kaptaintens31-Oct-04 13:25
kaptaintens31-Oct-04 13:25 
GeneralVirtual network IPs Pin
bouli31-Oct-04 8:27
bouli31-Oct-04 8:27 
GeneralRe: Virtual network IPs Pin
Dave Kreskowiak1-Nov-04 3:21
mveDave Kreskowiak1-Nov-04 3:21 
GeneralRe: Virtual network IPs Pin
bouli1-Nov-04 4:15
bouli1-Nov-04 4:15 
GeneralRe: Virtual network IPs Pin
Dave Kreskowiak1-Nov-04 6:21
mveDave Kreskowiak1-Nov-04 6:21 
GeneralSetItemData Pin
bouli31-Oct-04 6:54
bouli31-Oct-04 6:54 
GeneralRe: SetItemData Pin
c#amateur31-Oct-04 11:33
c#amateur31-Oct-04 11:33 
GeneralRe: SetItemData Pin
bouli31-Oct-04 11:38
bouli31-Oct-04 11:38 
GeneralRe: SetItemData Pin
Luis Alonso Ramos31-Oct-04 12:31
Luis Alonso Ramos31-Oct-04 12:31 
GeneralRe: SetItemData Pin
bouli31-Oct-04 23:54
bouli31-Oct-04 23:54 
General.xml to .doc,.html,.rtf Pin
makakiu31-Oct-04 5:36
makakiu31-Oct-04 5:36 
GeneralRe: .xml to .doc,.html,.rtf Pin
Christian Graus31-Oct-04 8:26
protectorChristian Graus31-Oct-04 8:26 
QuestionWhat's the problem? Pin
momer31-Oct-04 5:15
momer31-Oct-04 5:15 
AnswerRe: What's the problem? Pin
Stefan Troschuetz31-Oct-04 7:00
Stefan Troschuetz31-Oct-04 7:00 
GeneralRe: What's the problem? Pin
momer31-Oct-04 7:25
momer31-Oct-04 7:25 
GeneralUploade file to server problem! Pin
QzRz31-Oct-04 4:58
QzRz31-Oct-04 4:58 
Hi...

I have made an xml document, and uploaded it to a server...
my problem is how to uploade it again after i downloaded it..!

When i download it i do this... (not sure this is the best way to do it)

string path = @"http://www.whatever.com/web/MyFile.xml";
WebClient DLoad = new WebClient();
DLoad.DownloadFile(path, "MyFile.xml");

that works fine...!


But then when i want to uploade the file..
I have no idea how to do however i tried this...

WebClient ULoad = new WebClient();
string path = @"http://www.whatever.com/web/MyFile(1).xml";
ULoad.UploadFile(path, "MyFile.xml");

But it throws an "'System.Net.WebException' occurred in system.dll -
Additional information: The remote server returned an error: (405) Method Not Allowed."

I have no idea what to do now....
Need a way to upload the file to the server.... or to write to the xml that already is on the sever...!

Can anyone help me please...?

Thanks....!


QzRz
Generalbound control looses changes after leaving panel Pin
Peter Kiesel31-Oct-04 3:25
Peter Kiesel31-Oct-04 3:25 
GeneralOverflow exception Pin
Ahmed Galal31-Oct-04 1:26
Ahmed Galal31-Oct-04 1:26 

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.