RE: [PHP] Large/unreliable file uploading over HTTP
| From: | Boyd, Todd M. | Date: | Mon, 08 Sep 2008 15:25:18 +0000 |
| Subject: | RE: [PHP] Large/unreliable file uploading over HTTP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279666@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Craige Leeder [mailto:cleeder@gmail.com]
> Sent: Monday, September 08, 2008 8:49 AM
> To: mike
> Cc: PHP General list
> Subject: Re: [PHP] Large/unreliable file uploading over HTTP
>
> The only concern I would have is that you are using a third party
> software/applet to do these uploads. I'm not a fan of MAKING users have
> a piece of software enabled to allow them basic web-standard
> functionality on a site.
>
> It is however, an interesting concept. It would really come in handy
> for
> extremely large files.
>
> - Craige
>
> mike wrote:
> > Let's face it - HTTP is not very good for file uploads. It's
> stateless
> > nature, slow connections, inability to resume (technically), etc,
> etc.
> >
> > What I've been thinking about is a way to skip all the normal
> > annoyances with file uploading - multipart form encodings, file
> upload
> > tools with specific needs, PUT vs POST, connection resets, ... the
> > list goes on and on.
---8<--- snip!
> > I can't think of any method to do it in-browser, but doing it this
> way
> > could open the gates for things like Google Gears to possibly work
> > too...
I have an "almost-fully-functional" Java Applet file uploader. Progress bar, unlimited*
file size, blah blah blah... can hook into nearly any language on the other end (though I'm
currently working with PHP). Some bytes are missing from the resulting file when I try to upload an
MP3, but it's a work in progress.
I don't see the problem with using a Java Applet or something that is easily installed
on-demand. Java doesn't quite have the widespread adoption I would hope for, but it definitely
makes its' way around.
Todd Boyd
Web Programmer