Home All Groups Group Topic Archive Search About

Upload a file in a web server with a WinForm

Author
6 Jun 2006 8:51 AM
sebastien1101
Hi,

I need to find a solution to upload a file in a internet server with a
winform ?

How can i do this ?

Author
6 Jun 2006 10:18 AM
Cor Ligthert [MVP]
All versions including C#

WebClient.downloadFile
http://msdn2.microsoft.com/en-us/library/ms144194.aspx

VB 2005
my.computer.network.downloadfile
http://msdn2.microsoft.com/en-us/library/ack30t8y(VS.80).aspx

I hope this helps,

Cor


Show quoteHide quote
"sebastien1101" <sebastien1***@hotmail.fr> schreef in bericht
news:1149583892.606250.176720@i39g2000cwa.googlegroups.com...
> Hi,
>
> I need to find a solution to upload a file in a internet server with a
> winform ?
>
> How can i do this ?
>
Author
6 Jun 2006 10:33 AM
Herfried K. Wagner [MVP]
"sebastien1101" <sebastien1***@hotmail.fr> schrieb:
> I need to find a solution to upload a file in a internet server with a
> winform ?

'WebClient.UploadFile'.

If the server supports FTP:

..NET 1.*:

Accessing FTP servers in .NET applications
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=ftp&lang=en>

..NET 2.0:

..NET Framework Class Library -- 'FtpWebRequest' Class
<URL:http://msdn2.microsoft.com/en-US/library/system.net.ftpwebrequest.aspx>

An FTP client library for .NET 2.0
<URL:http://www.codeproject.com/vb/net/FtpClient.asp>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>