This project is read-only.

OpenRead(....,reset) not working with reset>0

Apr 17, 2013 at 12:37 PM
As raw FTP documentation says: REST command must immediately precede a data transfer command (RETR or STOR only). But inside your OpenRead impl there are some other commands between REST and RETR thus no ftp offset take effect
Apr 17, 2013 at 1:30 PM
Edited Apr 17, 2013 at 1:34 PM
Can you provide a transaction log? Here's the code, no commands between REST and RETR here unless I'm missing something:
                if (restart > 0) {
                    if (!(reply = client.Execute("REST {0}", restart)).Success)
                        throw new FtpCommandException(reply);

                stream = client.OpenDataStream("RETR {0}", path.GetFtpPath());

Scratch that, I found the problem. Will try to get a fix pushed up today.
Apr 17, 2013 at 1:49 PM
Thanks, this bug should be fixed in the latest revision.