SPSyncN 1.0.0

SharePoint .Net assets sync via Node.js

There is a newer version of this package available.
See the version list below for details.
Install-Package SPSyncN -Version 1.0.0
dotnet add package SPSyncN --version 1.0.0
<PackageReference Include="SPSyncN" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SPSyncN --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

SPSyncN - SharePoint .Net assets sync via Node.js

NuGet version
Downloads
Gitter chat


The wrapper for:

for usage in .Net assemblies.


Features

  • Upload a file to SharePoint document library
  • Upload a folder with structure and files to SharePoint
  • Download a file to SharePoint document library
  • Download a folder with structure and files to SharePoint
  • Remove a file from SharePoint document library
  • Remove a folder with all content from SharePoint

Installation

Install-Package SPAuthN
Install-Package SPSyncN

Usage

Options options = SPAuth.GetAuth("--configPath='./config/private.json' --forcePrompts=false");

Console.WriteLine("Upload a file...");
Upload.File("./Documents/TextFile.txt", "Shared Documents/File Upload Test", options.SiteUrl, options.AuthOptions);

Console.WriteLine("Download a file...");
Download.File("Shared Documents/File Upload Test/TextFile.txt", "./Download", options.SiteUrl, options.AuthOptions);

Console.WriteLine("Deleting a file...");
Remove.File("Shared Documents/File Upload Test/TextFile.txt", options.SiteUrl, options.AuthOptions);

Console.WriteLine("Upload a folder...");
Upload.Folder("./Documents", "Shared Documents/Folder Upload Test", options.SiteUrl, options.AuthOptions);

Console.WriteLine("Download a folder...");
Download.Folder("Shared Documents/Folder Upload Test", "./Download", options.SiteUrl, options.AuthOptions);

Console.WriteLine("Deleting a folder...");
Remove.Folder("Shared Documents/Folder Upload Test", options.SiteUrl, options.AuthOptions);

See more on GitHub

SPSyncN - SharePoint .Net assets sync via Node.js

NuGet version
Downloads
Gitter chat


The wrapper for:

for usage in .Net assemblies.


Features

  • Upload a file to SharePoint document library
  • Upload a folder with structure and files to SharePoint
  • Download a file to SharePoint document library
  • Download a folder with structure and files to SharePoint
  • Remove a file from SharePoint document library
  • Remove a folder with all content from SharePoint

Installation

Install-Package SPAuthN
Install-Package SPSyncN

Usage

Options options = SPAuth.GetAuth("--configPath='./config/private.json' --forcePrompts=false");

Console.WriteLine("Upload a file...");
Upload.File("./Documents/TextFile.txt", "Shared Documents/File Upload Test", options.SiteUrl, options.AuthOptions);

Console.WriteLine("Download a file...");
Download.File("Shared Documents/File Upload Test/TextFile.txt", "./Download", options.SiteUrl, options.AuthOptions);

Console.WriteLine("Deleting a file...");
Remove.File("Shared Documents/File Upload Test/TextFile.txt", options.SiteUrl, options.AuthOptions);

Console.WriteLine("Upload a folder...");
Upload.Folder("./Documents", "Shared Documents/Folder Upload Test", options.SiteUrl, options.AuthOptions);

Console.WriteLine("Download a folder...");
Download.Folder("Shared Documents/Folder Upload Test", "./Download", options.SiteUrl, options.AuthOptions);

Console.WriteLine("Deleting a folder...");
Remove.Folder("Shared Documents/Folder Upload Test", options.SiteUrl, options.AuthOptions);

See more on GitHub

Release Notes

Download functionality

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.3 55 6/27/2019
1.0.2 176 8/17/2018
1.0.1 942 4/29/2018
1.0.0 253 2/27/2018
0.2.2 309 12/11/2017
0.2.1 249 12/11/2017
0.2.0 245 12/10/2017
0.1.0 297 12/9/2017