LizAI 1.4.0

Uploader Service

A tool to upload folders with multipart upload.

Install from NuGet

To install LizAI .NET package, run the following command in Nuget Package Manager Console.

PM> Install-Package LizAI

Usage

To upload Folder/File, you need the following information

Variable name Description
endpoint <Domain-name> or <ip:port>
token Token create on your account

Examples:

using LizAI;
using LizAI.DataModel;

var endpoint = "https://example.com";
var token = "token";

// Initialize the client
ILizAIClient client = new LizAIClient()
						  .WithEndpoint(endpoint)
						  .WithToken(token)
						  .Build();


// Create args folder upload.
string folder = "foldername"
var uploadFolderArgs = new LizAI.DataModel.Args.UploadFolderArgs()
	                       .WithFolderPath(folder)
	                       .WithIncludeFolder(false);

// Run upload.
client.UploadFolder(uploadFolderArgs);

// Create args file upload.
string filePath = "file path"
var uploadFileArgs = new LizAI.DataModel.Args.UploadFileArgs()
                                .WithFilePath(filepath);
client.UploadFile(uploadFileArgs)

No packages depend on LizAI.

Version Downloads Last updated
1.4.0 3 08/04/2025