I'm using FtpGetFile to retrieve a file on a remote server. Everything works except when the file is downloading, everything on the machine looks like it is frozen; however, it's just downloading the file. Is there a way to download the file in the background and the user can continue to do something else?

When I try this, there is no improvement:

Do While FtpGetFile(hConnection, gfile, strFName & gfile, false, 0, FTP_TRANSFER_TYPE_UNKNOWN, 0)
DoEvents
Loop