.. -*-doctest-*-

================
PloneFlashUpload
================

The uploader normalizes the filename to a valid Zope/Plone id.

    >>> from Products.PloneFlashUpload import atct
    >>> factory = atct.UploadingCapableFileFactory(portal)
    >>> self.loginAsPortalOwner()
    >>> factory('foo.txt', 'File', 'foo')
    <ATFile at /plone/foo.txt>

The normalizer can handler unicode filenames.

    >>> factory('テスト.txt', 'File', 'foo')
    <ATFile /plone/TODO.txt>
