We help IT Professionals succeed at work.

how to upload files using vb.net

Medium Priority
1,225 Views
Last Modified: 2012-05-06
how to upload files using vb.net?


Thanks
Comment
Watch Question

Commented:
Use the control FileUpload.

<asp:FileUpload ID="FileUpload1" runat="server" />
<asp:Button ID="btnUpload" runat="server" Text="Upload" />

Private Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click
    FileUpload1.SaveAs("filename.zip")
End Sub

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Dirk HaestProject manager
CERTIFIED EXPERT
Commented:
Using Visual Basic .NET to Upload a File to a Web Server in ASP.NET
http://www.codeguru.com/csharp/.net/net_asp/files/article.php/c5335

How to upload a file to a Web server in ASP.NET by using Visual Basic .NET
http://support.microsoft.com/kb/323245
Project manager
CERTIFIED EXPERT
Commented:
ASP.NET 2.0 FileUpload Server Control
http://www.codeguru.com/csharp/sample_chapter/article.php/c12593

Performing a File Upload using ASP.NET 2.0 and VB .NET
http://www.aspnettutorials.com/tutorials/network/net-fileupload-aspnet2-vb.aspx

CodeSnip: Working with FileUpload Control
http://aspalliance.com/761

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.