RE: [PHP] Large/unreliable file uploading over HTTP
| From: | Boyd, Todd M. | Date: | Mon, 08 Sep 2008 18:35:35 +0000 |
| Subject: | RE: [PHP] Large/unreliable file uploading over HTTP | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279685@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: mike [mailto:mike503@gmail.com]
> Sent: Monday, September 08, 2008 1:19 PM
> To: Boyd, Todd M.
> Cc: Jason Pruim; php-general@lists.php.net
> Subject: Re: [PHP] Large/unreliable file uploading over HTTP
>
> Yes, share it please!
>
> We also have a Java guy who was going to look into creating this.
>
> Do you checksum each segment and validate it? Do you do any encoding
> on the wire to keep the bytes safe? I figure uuencoding or something
> would help with transferring over the wire (remember to checksum the
> uudecoded content, not the uuencoded)
---8<--- snip!
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. ;)
Todd Boyd
Web Programmer