Uploader file types

Eli Cochran eli at media.berkeley.edu
Sat Apr 25 05:18:21 UTC 2009


Fascinating. Great catch. I'll check it out on Monday.

Curious about the .zip thing though. I would be surprised but it's  
very easy to check.

I'll get back to you.

- Eli

On Apr 24, 2009, at 4:18 PM, Aaron Brown wrote:

> This relates to the Uploader API and the SWFUploadManager.js file
> distributed with Fluid.
>
> I believe the default "fileTypes" setting of "*.*" is inappropriate  
> and
> could cause undesirable behavior that can be tricky to debug.  Tricky
> enough, in fact, that I'm not 100% sure of the problem so I'm hoping
> someone on this list who's a Mac user can test things out for me.
>
> Problem: File type "*.*" does not match files that have no extensions
>
> Possible Solution: fileTypes: "*"
>
> On my linux system, the original setting results in extensionless  
> files
> not appearing at all in the file browse window, and changing that
> setting fixes the issue.  I *think* this may also be related to a  
> report
> I have from a client that he can't upload a .zip file that includes an
> extensionless file.  It appears that SWFupload actually peeks inside  
> the
> compressed files to make sure you're not using a .zip to get around  
> the
> file type restrictions in place.  When this happens, the cause of the
> behavior is very non-obvious given that most people naturally assume
> "*.*" will capture everything, which is not the case here.
>
> I believe "*" is the fix, but I haven't made the change to the wiki
> myself because my testing abilities are limited to my Linux system at
> the moment.  If some Mac users out there can confirm this and perhaps
> test the compressed file problem, that would help and perhaps then the
> script defaults could be updated.
>
> - Aaron
>
> -- 
> Aaron Brown :: aaron at thebrownproject.com :: www.thebrownproject.com
>
> _______________________________________________________
> fluid-work mailing list - fluid-work at fluidproject.org
> To unsubscribe, change settings or access archives,
> see http://fluidproject.org/mailman/listinfo/fluid-work

. . . . . . . . . . .  .  .   .    .      .         .              .                     .

Eli Cochran
user interaction developer
ETS, UC Berkeley





More information about the fluid-work mailing list