The LNI *might* be able to do this for you.  It streams directly from
the incoming PUT body through a Zip decoder into a Bitstream, so theoretically
there is no artificial length limit.  However, the _implementation_ of any of
those layers of software might not be able to handle files larger
than 2Gb -- the HTTP client, the HTTP servlet container (i.e. Tomcat),
Zip decoder in JVM... I'm not even sure if the Zip format itself accomodates
such large files.

So, with those caveats, you could arrange a test, just build a simple
LNI client out of:
http://wiki.dspace.org/index.php/Simple_LNI_Client
http://wiki.dspace.org/index.php/DSpace_SIP_Toolkit

Also, it is *very* important NOT to set the HTTP Content-Length:
header in your LNI PUT request, since I know that won't work for
large files.  The code stupidly parses it as an int, that is a bug
someone should submit.

I'd also recommend making sure the Zip library in the client doesn't
try to compress the video files since it'll probably just waste a lot
of CPU and accomplish nothing.  Maybe turn off compression entirely
when building the Zip.

good luck,

    -- Larry

> I want to use DSpace as a repository for large video files (in a private 
> gigabit LAN, not over the Web), i succesfully edited config files and css 
> stylesheets to fit my needs.
>
> Files larger than 2 GB cannot be submitted, i reach that limit modifying the 
> size value in web.xml directly in Tomcat to 2000000000, if i try a higher 
> value i get a lot of java errors.
>
> Is there a simple way to submit files larger than 2GB via web interface?
>
> The second question is: when i submit large files, i need to see in the 
> upload webpage an embedded progress bar which informs me about the percentage 
> submitted and possibly the transfer rate. Is there a simple way to embed such 
> a progress bar?
>
> Apart this two problems the software works GREAT!
>
> Thanks in advance and sorry for my bad english! ^_^
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to