How would you handle the downloading of large amount of data?
When connecting to a POP3-server using telnet and downloading attachments on my device, I get a after a while (after having received 300-400KB) OutOfMemoryExceptions. Nothing strange about that but since Outlook for PocketPC can handle attachments up to 3-4MB, there must be a way to do it!
I think I need to take the content of the buffer and write/save it in a file on storage, then I must empty the buffer and start all over again. Is this the best procedure? Any other ways of doing it? Some pseudo-code showing how to do it would be great.
rgds,
moster67
When connecting to a POP3-server using telnet and downloading attachments on my device, I get a after a while (after having received 300-400KB) OutOfMemoryExceptions. Nothing strange about that but since Outlook for PocketPC can handle attachments up to 3-4MB, there must be a way to do it!
I think I need to take the content of the buffer and write/save it in a file on storage, then I must empty the buffer and start all over again. Is this the best procedure? Any other ways of doing it? Some pseudo-code showing how to do it would be great.
rgds,
moster67