David Kaye <***@yahoo.com> wrote:
+---------------
| Okay, I am going to be needing a place where people can
| upload files, probably 300MB at a time. It's got to be
| a simple thing without charge to the uploader and with
| minimal UID/password stuff.
+---------------
You mean like one of these [mentioned in recent HN threads]? ;-}
https://transfer.sh/
https://curl.io/
https://wsend.net/
http://chunk.io/
http://sprunge.us/
http://ix.io/
https://file.io/
http://paste.click/
Aside:
The "wsend" site and some of the HN commentors
mentioned this very relevant XKCD: ;-}
http://xkcd.com/949/
File Transfer
Anyway, if you want to put something like one of those up
on one of your own servers, there are plenty of tiny coding
examples around. Quite coincidentally, I recently found a
bunch of stuff while searching for the HTML spec for forms
with a file ("uploading") element [answer: RFC 1867].
Most of the following also contain example snippets of
client-side code (web page HTML) as well as server code:
https://commons.apache.org/proper/commons-fileupload/
http://apache.webthing.com/mod_upload/
http://www.perlfect.com/articles/upload.shtml (Perl)
http://www.sitepoint.com/uploading-files-cgi-perl/ (Perl)
http://perlmeme.org/tutorials/cgi_upload.html (Perl)
http://code.activestate.com/recipes/273844-minimal-http-upload-cgi/ (Python)
https://github.com/guits/pastefile (Python)
+---------------
| These would be anonymous folks, so I don't want any kind of
| authentication stuff on my end. I just want them to be able
| to upload stuff and I want to be able to retrieve it simply
| with no fuss or muss.
+---------------
The list of sites at the top of this reply are all anonymous
[except, potentially, for the logging of the client IP address],
so that shouldn't be an issue.
The *big* issue is that without any authentication at all
you open yourself wide open to DoS attacks or misuse by
those who want to use your site to store malware or porn
or other illegal stuff. (*sigh*)
-Rob
-----
Rob Warnock <***@rpw3.org>
627 26th Avenue <http://rpw3.org/>
San Mateo, CA 94403