Re: Large/unreliable file uploading over HTTP
| From: | Jason Pruim | Date: | Mon, 08 Sep 2008 15:47:34 +0000 |
| Subject: | Re: Large/unreliable file uploading over HTTP | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279668@lists.php.net to get a copy of this message | ||
On Sep 8, 2008, at 11:25 AM, Boyd, Todd M. wrote:
Hey Todd, This sounds exactly like what my day job needs... I just took over the website, and currently they have it where people have to ftp the file into their server to get large files, and with them being a print shop... A couple gigs per job is not unheard of. If there is anything that I can do to help get that finished up let me know! :) -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 11287 James St Holland, MI 49424 www.raoset.com japruim@raoset.com-----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:---8<--- snip!Let's face it - HTTP is not very good for file uploads. It'sstatelessnature, 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, fileuploadtools with specific needs, PUT vs POST, connection resets, ... the list goes on and on.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.I can't think of any method to do it in-browser, but doing it thiswaycould open the gates for things like Google Gears to possibly work too...