Page 1 of 1

FTP Download - Help needed

Posted: Sun Jan 02, 2011 12:31 am
by M1z23R
Ok so, when i try to download file from ftp server i can't get progress bar to work :( I found a reason why is it like that, it is because app can't get "e.TotalBytesToReceive" it is equaled to "0" :( When download completes it sets it to correct size !

Re: FTP Download - Help needed

Posted: Sun Jan 02, 2011 4:28 pm
by mandai
A passive FTP file transfer will always show a progress percentage of zero, since the server did not send the file size.
http://msdn.microsoft.com/en-us/library ... anged.aspx