I will warn you as I'm still relatively new to visual basics. Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Clickĭim ftpRequest As FtpWebRequest = DirectCast(WebRequest.Create(""), FtpWebRequest)įtpRequest.Credentials = New NetworkCredential("server", "server")įtpRequest.Method = ĭim response As FtpWebResponse = DirectCast(ftpRequest.GetResponse(), FtpWebResponse)ĭim streamReader As New StreamReader(response.GetResponseStream())ĭim line As String = streamReader.ReadLine()įtpClient.Credentials = New ("server", "server")įor i As Integer = 0 To directories.Count - 1ĭim path As String = "" + directories(i).ToString()ĭim trnsfrpth As String = "C:\Pride\" + directories(i).ToString() I would prefer to not have to completely recode everything just to make it work. But I haven't see any direct ideas on how to code this that works with my coding. Sorry if this has been answered, I've been searching most of the day today on how to do this. If I do it the other way around it will enable it Reason being is then when the progress bar reaches 100% it will enable the button to progress. So I want it to add upĪll of the downloads from the directory then place them as a full progress bar for when they all are finished. What I'm looking for is adding a Progress Bar to the download as a whole. I got the downloading for the full directory from the ftp site working just fine. I've been working on a auto patcher that pulls the files from my ftp site.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |