Copy ShareFile folder to another ShareFile folder with Powershell

  • 1
  • Question
  • Updated 5 days ago
I can easily copy to/from a local folder to/from ShareFile, but I cannot find a way to copy one folder to another location within ShareFile using Powershell.  Is there a way to do this without having to sync to a local location?
Photo of Jon MacDonald

Jon MacDonald

  • 1 Post
  • 0 Reply Likes

Posted 2 weeks ago

  • 1
Photo of Andrew Finger

Andrew Finger

  • 8 Posts
  • 1 Reply Like
From https://api.sharefile.com/rest/docs/resource.aspx?name=Items

You can use a direct API call.  I do not know if PowerShell offers a method through the SDK, but at the very least you should be able to use a direct API call.



https://github.com/citrix/ShareFile-PowerShell/blob/master/ShareFileSnapIn/CopySfItem.cs

Looks like there might be some support?  I don't interact with ShareFile using PowerShell, so this may or may not be helpful.
(Edited)