extensionCmd (method)
Sends an extension command to the server.
Syntax
- (NSData*)extensionCmd:(NSString*)extn :(NSData*)dataBuffer;
public func extensionCmd(_ extn: String, _ dataBuffer: Data) throws -> Data
Remarks
Use this method to send an extension command to the SFTP server. Provide the extension type via the Extn parameter, and the request body via the DataBuffer parameter.
Upon completion of the command, the method returns the response as received from the server.