Re: specifying content types when uploading files with WebDAV

Nate Aune <natea-cNZgzcB+5vhWk0Htik3J/[email protected]> Thu, 15 Dec 2005 14:05:54 -0500
Newsgroups gmane.comp.web.zope.plone.design
Message-ID <[email protected]>
Dmersch wrote:
> Whenever I upload text files into Plone with WebDAV (WebDrive) it tags them all 
> as "Documents" when I need them all to be "Portal Files."  I'd add these text 
> files through the Plone interface, but I often have to upload them 100 at a 
> time.  
> 
> Any ideas on how to make sure that all uploaded text files get tagged a 'file' 
> and not a 'document'?

You can specify the mapping of file extension or MIME type in the 
content_type_registry portal tool which you can find in the Plone root.

Nate



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click