How to refresh control to cifs folder information?

cancel
Showing results for 
Search instead for 
Did you mean: 
Active Member

How to refresh control to cifs folder information?

Hello

I am user alfresco-community 201605 on linux(Cent OS7).

I have a question about Alfresco's cifs function to refresh folder information.

For exsample, If I open a specific file from the cifs folder and overwrite it, the folder information will not be changed.

(However, if I press F5 key in Windows Explorer, folder information will be updated.)

Does anyone know how to automatically update Alifresco's cifs folder information?

Please let me know your wisdom.

9 Replies
Senior Member

Re: How to refresh control to cifs folder information?

Hi!

Wait a some seconds or change your windows configuration for folder and files refresh.

Regards.

Active Member

Re: How to refresh control to cifs folder information?

Hi!

Thank you for your reply.

It was helpful, But I would like to resolve it without changing the setting on the client side.

Is there no solution on the server side?

Regards.

Senior Member

Re: How to refresh control to cifs folder information?

Hi,

I think not, but for the client side the solution could be as follows:

  1. Open "Regedit" and find key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
  2. Create next DWORD:
    - FileInfoCacheLifetime = 0
    - FileNotFoundCacheLifetime = 0
    - DirectoryCacheLifetime = 0
  3. Reinitiate Windows.

Regards,

fegor

Active Member

Re: How to refresh control to cifs folder information?

Hi Gonzalez

Thank you for your advice.

I tried edit to registry on my client pc.

I tried edit the registry according to your advice and restarted.

but the file update date was not change.

Besides that, I also tried the following.

  1. Open "Regedit" and find key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
  2. Create next DWORD:
    - SMB2 = 0
  3. Reinitiate Windows.

but the file update date was not change too.

thanks.

Senior Member

Re: How to refresh control to cifs folder information?

In my opinion is a Windows/explorer problem:

Other actions:

1. Registry Changes: In regedit go to HKEY_CLASSES_ROOT\CLSID\{BDEADE7F-C265-11D0-BCED-00A0C90AB50F}\Instance and change DontRefresh value to 0.

2. Sort by Name: In properties explorer use Sort by name.

Active Member

Re: How to refresh control to cifs folder information?

Hi Gonzalez

Thank you for your repeated advice.

I tried edit to registry on my client pc(windows 7 sp1 32bits) and according to your repeated advice and restarted windows.

After windows started, it called data of cisf folder,

 overwrite update, → no change

 folder sorted by name → no change.

 Open another folder and return to the original folder → The update date and time was change.

I found that the update date and time will change when updating to the latest information or referring to another folder and returning to the original.

But I want to make the update date and time change when updating on the application side.

Thanks Regards.

 

Senior Member

Re: How to refresh control to cifs folder information?

Surely that seems like a problem in windows network refresh.

Active Member

Re: How to refresh control to cifs folder information?

I will check about window network setting pointed out by you.

Thanks.

Active Member

Re: How to refresh control to cifs folder information?

Hello,

I tried various countermeasures, but I can not solve it.

does anyone have a solution to this problem?