Progress bar on My.Computer.Network.DownloadFile doesn't move

I am using My.Computer.Network.DownloadFile to download a file from an FTP server in a VB 2008 WinForm app. I have the ShowUI argument set to TRUE so that it shows a progress window. However, when I run the code, it show's the progress window but the progress bar doesn't increment. The file eventually downloads and the progress window dissapears, but at no point does the progress bar in this window increment at all. Any ideas why?
SETPAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Luis PérezSoftware Architect in .NetCommented:
Sometimes FTP servers doesn't give information to the client - I don't know the reason - on how many bytes are downloaded of the file. Probably the problem is not from the VB dialog; try using a common FTP client application (like FileZilla) and 99% sure that you'll see the same problem (file will be downloaded but you'll se no progress meanwhile).
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SETPAuthor Commented:
Hi Roland. Thank you very much for your reply. I was hoping you were right, but after downloading the exact same file with CoreFTP, I realized the problem must be something else because in that program it does in fact show the progress. :/
0
jjardineCommented:
Does the old trick of DoEvents Do anything to update the progress bar?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.