IPWorks Cloud 2020 iOS Edition

Questions / Feedback?

lockFile (method)

Locks a file resource.

Syntax

- (void)lockFile:(NSString*)fileId :(NSString*)expiration :(BOOL)allowDownloading;
public func lockFile(_ fileId: String, _ expiration: String, _ allowDownloading: Bool) throws -> Void

Remarks

This method locks the file resource specified by FileId to prevent others from modifying it.

Expiration may be set to an appropriately-formatted timestamp to specify an expiration time for the file lock. If Expiration is empty, the file lock will never expire. Timestamps are formatted according to RFC 3339.

AllowDownloading specifies whether others should still be allowed to download the file while it's locked.

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