uploading large files using iweb | developer.brewmp.com uploading large files using iweb | developer.brewmp.com

Developer

uploading large files using iweb

Forums:

Hi,

i figured out how to upload a large file using iweb and ISOURCEUTIL_SourceFromAStream from a file but my problem is, i want to add some data before uploading to isource from memory and then rest from file before giving isource pointer to IWEB_GetResponse

but i am unable to figure out how :confused:

plz help

my problem is same as one mentioned in below thread
http://brewforums.qualcomm.com/showthread.php?t=18891&highlight=iWEB
i.e How can ISource be used to concatenate two streams, one from memory and one from the file?
or from two diffrent files ?:confused:

my problem is same as one mentioned in below thread
http://brewforums.qualcomm.com/showthread.php?t=18891&highlight=iWEB
i.e How can ISource be used to concatenate two streams, one from memory and one from the file?
or from two diffrent files ?:confused:

One way might be...
Load from file into memory buffer so that you have both data streams in memory..concat them into single memory buffer and create ISource from it.

One way might be...
Load from file into memory buffer so that you have both data streams in memory..concat them into single memory buffer and create ISource from it.

hi atul,
files which i am trying to upload are around 40mb
so loading file into memory is not possible :(

hi atul,
files which i am trying to upload are around 40mb
so loading file into memory is not possible :(

cant u read chunks of data into mem from file and upload it to the server multipart? (if your server can handle!) else you can also try using socket, anyways what big deal using socket in place of http for ur server, its just my tat.

cant u read chunks of data into mem from file and upload it to the server multipart? (if your server can handle!) else you can also try using socket, anyways what big deal using socket in place of http for ur server, its just my tat.

mk.manju;81366 wrote:cant u read chunks of data into mem from file and upload it to the server multipart? (if your server can handle!) else you can also try using socket, anyways what big deal using socket in place of http for ur server, its just my tat.
hello Mk,
i am using i web interface not isocket to avoid handeling so many cases which are required to be handled in case of isocket
Finally after seeing examples from this forum & net i have created custom multisource interface on top of isource which can handle multiple number & types of data (mem , files etc ) and combine in to one Isource ......
Dang problem Solved :D

mk.manju;81366 wrote:cant u read chunks of data into mem from file and upload it to the server multipart? (if your server can handle!) else you can also try using socket, anyways what big deal using socket in place of http for ur server, its just my tat.
hello Mk,
i am using i web interface not isocket to avoid handeling so many cases which are required to be handled in case of isocket
Finally after seeing examples from this forum & net i have created custom multisource interface on top of isource which can handle multiple number & types of data (mem , files etc ) and combine in to one Isource ......
Dang problem Solved :D

hi ecy3323,
please post the link of the Threads that helped you, It might help others also.
-thanks in advance

hi ecy3323,
please post the link of the Threads that helped you, It might help others also.
-thanks in advance