Re: GetFile() does nothing - WeOnlyDo Discussion board

Re: GetFile() does nothing (General questions)

by wodDamir, Friday, September 02, 2011, 19:01 (4610 days ago) @ EMRDeveloper

Hi,

The code you provided can't really work without Blocking mode set to true. If no blocking is set, then you would need to handle events (i.e. Connected event) and use them to call GetFile and other methods.

When blocking mode is set, each method will block code execution until component receives an error, or is done with execution. Only then will code be released and will continue with the next line.

How big is the file you're trying to download? Are you sure it's a hang that you're experiencing, and not component actually downloading the file?

Regards,
Damba


Complete thread: