Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Upload file in VB application

Status
Not open for further replies.

andylo

Programmer
Apr 22, 2002
12
0
0
AU
Hi all,

Can anyone tell me how to upload a file into web server using VB.NET application, not ASP or other things. jsut VB application.

Suppose I have a created a form, a textbox and a command button. textbox allow user to enter file name and once the user click the button, it will upload the file from local disk to web server.

I know doing it in ASP.NET is easier and it has sample code anyway, but I need to upload the file in VB.NET application rather than anything else.

Please tell me what is the command/function/class I should call and the syntax of uploading a file.

Thanks in advance

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top