Thank you for your response.
To answer your questions:
1. The file is finished downloading, and can be opened after the program is exited. The program is also able to be validated with 7zip.
3. I am using the directory listings in the program with a regular expression to determine which files should be downloaded, after comparing with the file information obtained by getting directory listings.
4. I'm not sure if I'm logging anything, any help there would be available.
5. I have not tried the command line ftp client, FileZilla has no problem with the file. I don't mind trying the command line, how would i go about that?
It would appear that the code where it actually gets "stuck" is the following
while ((count = ReadChunk(input, chunk, transferBufferSize)) > 0 && !cancelTransfer)
{
output.Write(chunk, 0, count);
size += count;
monitorCount += count;
if (BytesTransferred != null && monitorCount > monitorInterval)
{
BytesTransferred(this, new BytesTransferredEventArgs(remoteFile, size));
monitorCount = 0;
}
}
It keeps incrementing, for as long as im willing to let it go, long after the size is larger than the size of the actual file.
Thanks for your help.