CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2009
    Posts
    177

    vb.net download file

    Hi, I has a download button in my web application. When I click the button, it will search for the particular path in my local pc and get the file for the user to download. May I know is it possible to do so using vb.net for web application?

  2. #2
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: vb.net download file

    Yes it is possible using VB.NET as long as you are developing a Web Application.

  3. #3
    Join Date
    Jan 2009
    Posts
    177

    Re: vb.net download file

    Can anyone provide me some real sample code because I had searched online, but most of them are downloading from website, not from local pc.

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: vb.net download file

    From a PC isn't downloading, it is UPloading, and you can't really do that (for the most part)
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  5. #5
    Join Date
    Jan 2009
    Posts
    177

    Re: vb.net download file

    I get what you means. But how about downloading from server through FTP using VB.net code?

  6. #6
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: vb.net download file

    Downloading from a server is possible. Download the samples from here, and try a few!
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured