i am currently developing the back and frontend for a project which
tries to be a meta-ressource for independent media works (
http://mmm.ok.ag)
MMM is a publishing platform for
visual media productions (moving media) of emerging contemporary
artists in various genres.
if people want to upload their video-works i want to create a
file-uploading-part which has to handle rather big files (up to ~650MB
in the "worst" case)
we have an anonymous ftp-upload, but i wanted to build a web-driven
upload from the submission form of the works:
my aim:
- upload form with CGI::FormBuilder
(the CGI doesn't mean that it's only usable with CGI.pm, also usable with
mod_perl)
- submit the form to a new window (respectively perl/cgi script)
- this window should show the uploading progress
for the last part of this i wanted to use a frame which is 100% width
and height, the invisible frame processes the uploading request, the
visible frame (with
http-equiv-refresh)
shows the uploading progress.
there are several
RFCs about
Form Handling, i read most of them, but my problem now with perl is the
following:
i want to extract the
Content-length of the
http
header, and compare it to the temporary file on the server or the
data transfered so far.
how to solve this issues in perl/cgi/mod_perl?
- reading the Content-length of the file to
be transmitted
- reading the currently transmitted bytes
thanks a lot,
parasew
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.