Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Synchronize the File System programmaticallySynchronize the File System programmatically
Previous
 
Next
New Post
2/18/2014 3:03 PM
 

Hello, I am trying to synchronise the file system of DNN for a secure folder using the following:

  FolderManager.Instance.Synchronize(Me.PortalId)

The method works as it should (files are converted to xxx.resources but after 20-30 seconds, the system recreates the files!!! I have auto-sync disabled. Any ideas?

DNN 7.2.0

 
New Post
2/18/2014 4:11 PM
 
Another program (OCR) which was watching the folder was creating the files, sigh....
 
New Post
2/18/2014 4:30 PM
 
can you describe your scenario more please, there shouldn't be a need to synchronize a folder when uploading files via the digital asset manager. I'm guessing you're using ftp/windows explorer to copy the files in? If so are they in a single folder, as it might be a better idea to use one of the signatures for that e.g.FolderManager.Instance.Synchronize(Me.PortalId,"/yourfolder",false,true) [where the last 2 fields are the recursive and syncfiles settings

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/18/2014 5:00 PM
 
you should avoid creating files in folders, marked as "secure file system", these need to be renamed and a 3rd party application observing the folder will usually not be prepared to handle this.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/19/2014 1:58 AM
 

Sebastian, the weird thing is that after I upload one file in the secure fold it, I OCR it through the OCR program, and then run the synchronisation. The file xyz.resources is created, but to my surprise the OCR program detects the new file (xyz.recourses) and manages to OCR it!!! I believe this is no good for secure file system.  Shouldn't I get an error for making the file unable to read from the OCR engine?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Synchronize the File System programmaticallySynchronize the File System programmatically


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out