Kinetica   C#   API  Version 7.2.3.1
UploadOptions.cs
Go to the documentation of this file.
1 namespace kinetica.FileSystem;
2 
6  public class UploadOptions
7  {
13  public bool Recursive { get; set; } = true;
14 
20  public int Ttl { get; set; } = -1;
21 
26  public bool DeleteIfExists { get; set; } = false;
27 
31  public UploadOptions()
32  {
33  }
34 
40  public UploadOptions(bool recursive, int ttl)
41  {
42  Recursive = recursive;
43  Ttl = ttl;
44  }
45 
49  public static UploadOptions Default => new UploadOptions(true, -1);
50  }
bool DeleteIfExists
Gets or sets whether to delete existing files before uploading.
UploadOptions(bool recursive, int ttl)
Creates a new UploadOptions with the specified values.
*.csv.*Default is true.*</summary > *bool Recursive
Gets or sets whether file search should be recursive along a directory hierarchy.
UploadOptions()
Creates a new UploadOptions with default values.
Options for uploading files to KiFS.
Definition: UploadOptions.cs:6
static UploadOptions Default
Returns the default upload options.
int Ttl
Gets or sets the time-to-live (TTL) value for uploaded files in minutes.