|
-
Jan 30th, 2010, 12:47 PM
#1
Thread Starter
Addicted Member
show FTP status....
hello i made a thread earlyer but i figured out what was wrong and changed how i do it but now i have another issue
My.Computer.Network.UploadFile(Form4.TextBox2.Text, "ftp://somesite.com" & Form4.Label1.Text, "uname", "pass", False, 10, FileIO.UICancelOption.DoNothing)
yes that works but i want it to show the upload progress...
i know if i set the boolen to true it shows the progess on its own UI but it also shows ware the image is beeing uploaded and i dont want that to happen.....
so dose anyone have an idea how i could show it on its own progress bar inside the form....
Between the world we see and the things we fear theres a realm of possibility
D.L.H. Ind.
We do what we do in out life to make Yours Simpler 
-
Jan 30th, 2010, 09:08 PM
#2
Re: show FTP status....
You can't use My.Computer.Network.UploadFile in that case. You'll need to use a WebClient, which has an UploadFileAsync method. You can call that and then handle the UploadProgressChanged event to get the required information to update your own ProgressBar.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|