Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

File Upload Event subscribe
Last Post 06/05/2012 10:19 PM by Peter Donker. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
nerijus navickas
New Member
New Member
Posts:1


--
05/02/2011 11:22 AM
Hello all,


Need to implement simple functionality:

- catch event when file is uploaded (.pdf);

- analyze it (iText library);

- save it to sertain folder / rename;



Is it possible to implement such a function?

Is there event handler to subscribe to or some other technique could be used?


thank you for any advice.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/03/2011 10:30 AM
Currently there isn't. The only way to do it right now is to create a custom upload module (like the Letterbox extension for instance) or to tweak the codebehind of the EditEntry control which handles the core upload. In both instances you have full control over the process. I'm looking at implementing generic hooks into the process but that will take some time before these are released and stable.

Peter
Greg Novak
New Member
New Member
Posts:1


--
06/05/2012 12:07 PM
Has this been implemented? I would also like this capability. An OnUpload event and OnSave if using WebDav (if possible).
Thanks.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
06/05/2012 10:19 PM
Hi Greg,

Yes but not for WebDAV yet. Only in the main UI. If you have the partial source you can see how this is done. The new thumbnail creator leverages this functionality.

The WebDAV implementation of this code is on the todo list.

Peter
You are not authorized to post a reply.