[users@httpd] Partial file uploads

2011-12-31 Thread Tomasz Muras
Hello,

I would like to create a website that allows users uploading only
first N bytes of the file. I'm interested only in the file headers, so
I will never need a full file. I would like Apache to allow uploading
X bytes, interrupt the upload - but keep  pass the partial file to
mod_php. Do you think it's possible? Where should I look - maybe
creating a custom Apache mod is the only way?

Any hints or directions much appreciated,
Tomek Muras

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Partial file uploads

2011-12-31 Thread Tomasz Muras
On Sat, Dec 31, 2011 at 10:06 PM, Stormy storm...@stormy.ca wrote:
 At 08:59 PM 12/31/2011 +, Tomasz Muras wrote:

 Hello,

 I would like to create a website that allows users uploading only
 first N bytes of the file. I'm interested only in the file headers, so
 I will never need a full file. I would like Apache to allow uploading
 X bytes, interrupt the upload - but keep  pass the partial file to
 mod_php. Do you think it's possible? Where should I look - maybe
 creating a custom Apache mod is the only way?


 ftp?
Just to make it clear: I want to interrupt upload on my side - so user
can go to a website, then choose  start uploading his 4GB image file
- but that is interrupted after first 100kB (say) - and I get that
100kB in my PHP script.

Tomek

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org