S Sia Member Licensed User Longtime User Jun 3, 2015 #1 Hi , i tried to upload jpg file with my android program, everything is ok but my problem is speed of attachment ! when i tried attach with android i can see my speed for attachment is ~50-80 KB and when i tried attach with my laptop i can see my speed is ~1-2 MBps . why it happened ? i think mozilla is use multi trading(multi connection ) for upload file like IDM ( internet download manager ) or filezilla and my program not ! please advice me . thank you.
Hi , i tried to upload jpg file with my android program, everything is ok but my problem is speed of attachment ! when i tried attach with android i can see my speed for attachment is ~50-80 KB and when i tried attach with my laptop i can see my speed is ~1-2 MBps . why it happened ? i think mozilla is use multi trading(multi connection ) for upload file like IDM ( internet download manager ) or filezilla and my program not ! please advice me . thank you.
Erel B4X founder Staff member Licensed User Longtime User Jun 4, 2015 #2 What is the attachments size? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jun 5, 2015 #4 I don't recommend you to use SMTP for non-small files. First it needs to encode the file with base64 encoding which can slow it down and increase the file size by 33%. Secondly the SMTP library does everything in memory. So it may run out of memory. FTP or Http will be better here. Upvote 0
I don't recommend you to use SMTP for non-small files. First it needs to encode the file with base64 encoding which can slow it down and increase the file size by 33%. Secondly the SMTP library does everything in memory. So it may run out of memory. FTP or Http will be better here.