Re: [Zope3-dev] z3c.widget.flashupload and compression? [bit OT]

2006-11-17 Thread Christian Theune
Hi,

Adam Groszer wrote:
> Hello Christian,
> 
> Meanwhile Manfred dropped me an answer:
> 
>>  From my perspective there is now way for implementing an compression
>> inside the widget because it is built in Flash / Actionscript and for  
>> security issues, you are not allowed to access the file on the  
>> filesystem. You only get an FileReferenceObject which you can control  
>> to post your data to the server. It is the same issue as with  
>> JavaScript.
>>
>> So unfortunatly, I believe that your goal can not be reached inside  
>> Flash - you would need a Java Applet for doing such stuff.
> 
> We are making a document management system, our users usually should
> be concerned with .doc, .xls and so on filetypes. They compress well.
> Main goal is to reduce waiting time on submitting the form.
> First step is to have the uploads compressed, second step is to
> transfer only the differences as subversion does it.
> 
> So it won't work with Flash. I already found an open source java
> applet which could be extended.

I almost would have expected that your .doc and .xls are compressed
already nowadays ... I checked a random .doc file and you're right. It
compressed to 25% of it's size, so it actually might be worthwhile to do
that.

Christian

-- 
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development




signature.asc
Description: OpenPGP digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] z3c.widget.flashupload and compression? [bit OT]

2006-11-17 Thread Christian Theune
Hi,

Adam Groszer wrote:
> Hello,
> 
> I'm a little bit offtopic with my question here.
> 
> We had here the idea to implement a compression algorhitm in the above
> package to save some precious upload bandwith.
> 
> I'm not a flash professional, google did not spit out straightforward
> solutions.
> 
> Any ideas, pointers, help is appreciated.

I'm not sure whether that would help you at all. What kind of data do
your users upload?

Christian

-- 
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development




signature.asc
Description: OpenPGP digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com