PSDK Sync not working properly (0KB Files, -strict not working, duplicated folders)

  • 1
  • Problem
  • Updated 1 year ago
We have a selfhosted multitenant StorageZone and several Powershell scripts for syncing local files with Sharefile and vice versa. Therefore I try to use the sync-sfitem command an the parameter -strict. The described function of an exact copy isn't working. I saw an old post at communityforum talking about updates. I installed the latest version of storagezonecontroller 5.1 and PSDK 1.92

Sync-SfItem -LocalPath "D:\Shares\Daten\Allgemein\Flächenmanagement\Sharefile downloads\*" -Upload -Synchronize -ShareFilePath "/Flächenmanagement - Konzerne - EDI/Sharefile Downloads" -recursive -Strict

Second problem:
The sync-sfitem command with parameter -download to get the files local sometimes happens to download broken files with 0KB size. the files are healthy in sharefile and manual download works fine.

Sync-SfItem -LocalPath $Konzernordner1root -Synchronize -Download -ShareFilePath $Konzern1SFQuellpfad -recursive

Third problem:
some sync operations behave strange and create the same folder over and over instead of recognizing it's already present. Ended up with multiple folders with the same name in Sharefile. Actually it's not possible to create folders with same name with the GUI.

Sync-SfItem -LocalPath ($item+"\Sharefile\*") -Synchronize -Upload -ShareFilePath $Kundenzielpfad -recursive

looking forward for any help or ideas.
Photo of czipf


  • 3 Posts
  • 0 Reply Likes

Posted 1 year ago

  • 1

Be the first to post a reply!