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

Bring2mind Forums

Strategy for pruning files > 1 month old?
Last Post 03/18/2013 2:59 PM by Peter Donker. 2 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Larry Daniele
New Member
New Member
Posts:38


--
03/07/2013 3:40 AM
Hi Peter,

We are using the Letterbox extension to allow clients to upload files to us for processing. When a file is more than 30 days old, we would like to "prune" (delete) it from the repository.

Can you suggest a good strategy for doing this?

Can this be done with a scheduled SQL script perhaps using some DMX stored procedure calls?

I understand that this requires deleting files, so would this task be easier if we store the files in the database using the "SQL Storage Provider" found in "Storage Settings"?

Finally, if this would require some custom code, is there a process for contracting with you to create an extension that meets our needs?

Thanks in advance for your help!

Larry
Larry Daniele
New Member
New Member
Posts:38


--
03/07/2013 3:43 AM
Also, if we use the "SQL Storage Provider" technique, are there any general warnings or adverse side-effects that we should be aware of?
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
03/18/2013 2:59 PM
Can you suggest a good strategy for doing this?

A scheduled task is the regular way to do this. That way you can control how often it runs and what it does exactly. You can have the task call SQL if this is the best way for you.

I understand that this requires deleting files, so would this task be easier if we store the files in the database using the "SQL Storage Provider" found in "Storage Settings"?

No. The only solid way to (hard) delete files from DMX is to go through the API and call HardDelete. That will take care of the whole process.

Finally, if this would require some custom code, is there a process for contracting with you to create an extension that meets our needs?

Yes. Just write me an email. I'll forward you to one of our partners that is able to do this for you.

Peter
You are not authorized to post a reply.