Visual Basic 2008/2010 - Save Page As, create a Folder, upload the folder to a specific ftp site

I am working on this vb app that will goto a specific site, click on a button(i am still working on the button process) do a save page as, create a folder, save those files to a folder and then upload that folder to a ftp site.

please help, i just need the save as page.....and if you know the solution for click on the login button

Thank you

Button to launch Website


Button to login but its not working (still working on this)

Dim MyElementsWeb As HtmlElementCollection = WebBrowser1.Document.All
        For Each LogBtn As HtmlElement In MyElementsWeb
            If LogBtn.GetAttribute("name") = "Login" Then
            End If

Button to Create folder

My.Computer.FileSystem.CreateDirectory("C:\" + TextBox2.Text)

Button to launch ftp upload

Dim Request as systemnet.ftpwebrequest = directcast(systemnet.webrequest.create(""), systemnet.ftpwebrequest)
request.credentials = new"user", "password")
request.method =

dim files() as byte = system.IO.file.readallbytes("c:\")

Dim strz as = request.getrequeststream()
strz.write(file, 0, file.length)

please help

This article has been dead for over six months. Start a new discussion instead.