by nex3 · 15y ago · 0 comments
Attachments should work, with a few caveats. Due to some annoying quirks of the HTML5 FileSystem API, there's a whitelist of supported file extensions. This includes everything useful we could think of, but it's not exhaustive.
I think that there are a fair number of mail filters that block .scr entirely, anyhow. In that respect, they're similar to .bat, .vbs, .wsh and the like.
Alternatively, you can just offer to automatically zip those for the user. Actually, that might be a good idea for all unrecognized files because it avoids a lot of weird problems with funny extensions that are automatically blocked.
Feel free to use that idea.