IPWorks Cloud 2020 macOS Edition

Questions / Feedback?

SetFileReplication Method

Sets the replication factor for a file.

Syntax

public func setFileReplication(filePath: String, replication: Int32) throws -> Void

Remarks

This method sets the replication factor for the file at FilePath to Replication.

Valid values for Replication are 1 through 32767 (inclusive); or 0 to reset the file's replication factor back to the server default.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 macOS Edition - Version 20.0 [Build 8265]