RE: [PHP] Large/unreliable file uploading over HTTP
| From: | Boyd, Todd M. | Date: | Mon, 08 Sep 2008 21:00:38 +0000 |
| Subject: | RE: [PHP] Large/unreliable file uploading over HTTP | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279698@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: mike [mailto:mike503@gmail.com]
> Sent: Monday, September 08, 2008 1:38 PM
> To: Boyd, Todd M.
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Large/unreliable file uploading over HTTP
>
> On Mon, Sep 8, 2008 at 11:35 AM, Boyd, Todd M. <tmboyd1@ccis.edu>
> wrote:
>
> > The checksum is not being performed in the last version I worked on.
> That was going to be my next step--verifying each chunk as it came down
> the tube. As far as encoding, I believe I was UUEncoding it. I don't
> have the source here with me at work... it may have been something less
> efficient (but easier to implement for beta), like Base64. I can't
> remember off-hand.
> >
> > I'm pretty sure I've still got decent free storage floating around on
> the net somewhere (maybe qsh.eu or freehyperspace.com) so that I can
> post a link to the source for those that are interested.
> >
> > More news in a few hours. ;)
>
> I can host it for you if you need it. Contact me off list if you want.
>
> Also - I figured uuencoding is best, as usenet uses that and has no
> issues.
>
> Base64 was another option but I decided (not sure how) that uuencoding
> probably makes the most sense.
I know that Base64 encoding adds something like 30% to the overall volume of the object once it has
been encoded. For huge files, that might be unacceptable. I'm not sure how UUEncode handles it.
Todd Boyd
Web Programmer