How do I move a file from one folder to another using .net

  • 1
  • Question
  • Updated 2 weeks ago

I am trying to copy a file from one folder to another using the .net SDK

example

public static void CopyFiles(IShareFileClient client, Item file, string targetFolderId)

{

client.Items.Copy(file.url, targetFolderId);

}

 
Photo of David

David

  • 2 Posts
  • 0 Reply Likes

Posted 8 months ago

  • 1
Photo of David

David

  • 2 Posts
  • 0 Reply Likes
Thanks I was more looking for transferring a file from one sharefile folder to another

I think I found it through update

            item.Parent = destination Folder;

            await sfClient.Items.Update(item.url, item).ExecuteAsync();




Photo of Jostin Jose

Jostin Jose

  • 1 Post
  • 0 Reply Likes
I WANT TO COPY FOLDER FROM ONE TO ANOTHER LOCATION IN CITRIX USING API - c#.Net WINDOWS APPLICATION. COULD YOU PLEASE HELP ME.?

(Edited)