Thursday 16 October 2003 1:33:02 am
I wouldn't recommend creating a new datatype, to do so you would have to either copy the existing one or create one from scratch. Either way you wouldn't get updates to the file datatype that we make. Creating a workflow is a good way to handle this, create a new custom workflow event that will check the published object, if any of the attribute is a file datatype get the file and send it to your other server.
A third way is to fix the file datatype to let the binaryfilehandler to the upload work. Currently the binaryfilehandlers only do the download work, not upload. If this is fixed then you could create your own upload handler. Your handler should call the normal upload handler to store the file locally then send the file to the other server.
--
Amos
Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq
|