-
Notifications
You must be signed in to change notification settings - Fork 2
FCPv2 PersistentPutDir
David Roden edited this page Jun 1, 2024
·
1 revision
PersistentPutDir is the message from the node returned for a ClientPutDiskDir or ClientPutComplexDir message, or when the client sends a ListPersistentRequests message. It is similar to PersistentPut, for obvious reasons.
PersistentPutDir Identifier=Insert-1 URI=CHK@ Verbosity=0 PriorityClass=1 Global=false MaxRetries=3 Files.2.Filename=/root/something.txt Files.2.Name=something.txt Files.2.DataLength=5035 Files.2.UploadFrom=disk Files.2.Metadata.ContentType=text/plain Files.0.Name=hello.txt Files.0.DataLength=6 Files.0.UploadFrom=direct Files.0.Metadata.ContentType=text/plain Files.1.Name=goodbye.txt Files.1.DataLength=8 Files.1.UploadFrom=direct Files.1.Metadata.ContentType=text/plain EndMessage
Field | Description | Type | Notes |
---|---|---|---|
Identifier | The identifier of the original request | string | |
URI | The URI of the original request | string | |
PrivateURI | The private URI of the original request | string | only included when appropriate (i.e. for SSK and USK) |
Verbosity | The verbosity of the original request | number | |
Persistence | The persistence setting of the insert | [“connection”, “forever”, “reboot”] | |
PriorityClass | The priority of the original request | number | |
Global | Whether this request was put on the global queue | boolean | |
PutDirType | The source of the insert | [“disk”, “complex”] | |
CompatibilityMode | The compatibility mode of the insert | compatibility mode | |
DefaultName | The name of the file to request when no filename is given | string | |
Count | The number of files contained in this request | number | |
ClientToken | A client-specific token for the request | string | only included when set in request |
Started | Whether the request has already started | boolean | |
MaxRetries | The maximum number of retries | number | |
DontCompress | Whether compression has been suppressed for this insert | boolean | |
Codecs | The codecs used for compression specified in the insert | string | only included when set in request |
RealTime | Whether this insert has real-time priority | boolean | |
SplitfileCryptoKey | The splitfile crypto key of this insert | string | only included when set in request |
The Files section is repeated for every file in the insert. n starts at 0. | |||
Files.n.Name | The name of file n | string | |
Files.n.UploadFrom | The source of the file | [“direct”, “disk”, “redirect”] | |
Files.n.TargetURI | The target of the redirect | string | only included when Files.n.UploadFrom is “redirect” |
Files.n.DataLength | The length of the data of file n | number | only included Files.n.UploadFrom is not “redirect” |
Files.n.Metadata.ContentType | The MIME type of file n | string | only included when set in request |
Files.n.Filename | The name of the file on disk being inserted | string | only included when Files.n.UploadFrom is “disk” |