im writing datachunk to the file inthe following code,it correctly writes file to C:.But program gives me error e32base -cbase 31 error what does it mean
one more query after tried to write a wav file but now it gives me error -191
after this my program also not to the txt file giving same error -191
// Get the body data supplier
MHTTPDataSupplier* body = aTransaction.Response().Body();
TPtrC8 dataChunk;
// GetNextDataPart() returns ETrue, if the received part is the last
// one.
TBool isLast = body->GetNextDataPart(dataChunk);
iObserver.ClientBodyReceived(dataChunk);
RFs aFs;
User::LeaveIfError(aFs.Connect());
CleanupClosePushL(aFs);
_LIT(KStreamName, "C:\\Stream.txt");
//Delete old file
aFs.Delete(KStreamName);
//
// Open a file write stream
RFileWriteStream fWrite;
User::LeaveIfError(fWrite.Create(aFs, KStreamName, EFileWrite));
CleanupClosePushL(fWrite);
//
// Write to the stream and commit it
fWrite<<dataChunk;
TBuf<64> text;
_LIT(KBodyPartReceived, "%d bytes received... ");
text.Format(KBodyPartReceived, dataChunk.Length());
iObserver.ClientEvent(text);
// NOTE: isLast may not be ETrue even if last data part received.
// (e.g. multipart response without content length field)
// Use EResponseComplete to reliably determine when body is completely
// received.
if (isLast)
{
_LIT(KBodyReceived,"Body received");
iObserver.ClientEvent(KBodyReceived);
}
// Always remember to release the body data.
body->ReleaseData();
fWrite.CommitL();



