What steps will reproduce the problem?
Encoding.ASCII.GetString(buffer, 100, 7) can result in a string with a
trailing space character. This will result in an error.
Solution:
Add a .Trim() command at the end of the Encoding like in the example below.
Mode = Convert.ToInt32(Encoding.ASCII.GetString(buffer, 100, 7).Trim(), 8);
UserId = Convert.ToInt32(Encoding.ASCII.GetString(buffer, 108, 7).Trim(),
8);
GroupId = Convert.ToInt32(Encoding.ASCII.GetString(buffer, 116, 7).Trim(),
8);
What version of the product are you using? On what operating system?
Latest CVN version
Please provide any additional information below.
Creating very big files works perfect now.
Original issue reported on code.google.com by p.platt...@gmail.com on 14 Jan 2010 at 4:25
Original issue reported on code.google.com by
p.platt...@gmail.com
on 14 Jan 2010 at 4:25