Join Now

This page was last modified 10:22, 13 August 2008.

Talk:Symbian C++ : Multipart/form-data

From Forum Nokia Wiki

I am currently starting with Symbian, and trying to implement this example. To me it seems as if the file would actually never be read? I tried

iPostDataImage = HBufC8::NewL(aSize); TPtr8 aPtr = iPostDataImage->Des();

aFile.Read(aPtr);

aFile.Close(); aFs.Close();

and this worked. After I am done with all the programming i will update this example.

file size limit

hi, i've used the way mentioned in this article to upload images to my server.

however for small files which file size is <200KB it works fine

for files larger than that i face a problem with the application crashing everytime it tries to allocate the HBufC8*....

any work around to this problem? anyone else faced it?

it works fine on emulator only crashes on phone due to memory limitations i suspect

 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX