Uploading a file to a webdav folder

Christian.Niehaves

New member
Joined
Jan 20, 2006
Messages
2
Programming Experience
1-3
Hello
i get the following error while uploading a file to GMX Mediacenter (its a freemail provider which offers 1GB space as a webdav folder):

System.Net.WebExcpetion: The underlying connection was closed.......

I used the following code:
My.Computer.Network.UploadFile("C:\Temp\Test.txt", _
"http://www.mediacenter.gmx.net/Temp/Test.txt", _
"<Benutzername>", "<Passwort>", True, 100000)​
(The "My" object a new own in the Framework 2.0)
The connection to the mediacenter is correct, because there comes no error while downloading a file from the mediacenter.

Is there any other possibility to upload an file to an webdav folder?

King regards
Christian Niehaves
 
Back
Top