Hello Jgleffe,
On Sunday, August 03, 2003, [EMAIL PROTECTED] wrote...

> The description of the bug:When trying to add an MP3(7000kb) as
> attachment the program runs /src/compose.php and takes forever and
> seems to never stop. Iusually stop by signing off of squirrel. I
> watched the outgoing through my firewall and stopped the
> transmission after I noticed 3.5 MB had been transmitted. Is this
> normal ?

So you're trying to attach a file of just under 7MB, and wonder why
3.5MB have been sent to the server, halfway through stopping it? To
attach the file to the email, we have to have access to the file, so
you're technically uploaded the *WHOLE* file to the webserver. We then
base64 encode the file (adding about 30% to the file size), then
attach it to the email... the only step that is different between
attaching the file to an email in SquirrelMail, and in Outlook (for
example) is Outlook works on the files locally, but we cannot do the
same because of the way http (and PHP) works.

As Paul suggested, with large files, a better medium is suggested,
such as FTP (which was specifically designed just for transferring
files). It should be noted that base64 encoding of attachments adds
about a 30-35% overhead, so the bigger the files, the larger the
overhead.

-- 
Jonathan Angliss
([EMAIL PROTECTED])



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to