This project is read-only.

Value does not fall within the expected range.

Apr 20, 2009 at 9:29 AM
Edited Apr 20, 2009 at 9:30 AM

When AddFiles in sharpBITS is being called, getting an exception : Value does not fall within the expected range.


Collection<BitsFileInfo> files)  calls AddFileSet(count, files)  internally.

When the same files are downloaded one by one using,  AddFile(string remoteName, string localName), the files are downloaded without any issues..

Any idea on what could be wrong ?

Thanks in advance for the help







Apr 28, 2009 at 7:00 PM
This error was due at an extra blank space in the URL. String.Trim() helped.