protocol (property)

Sets the protocol to use for the transfer.

Syntax

@property (nonatomic,readwrite,assign,getter=protocol,setter=setProtocol:) int protocol;
- (int)protocol;
- (void)setProtocol:(int)newProtocol;

/* Possible Values */
PROT_REXEC(0),
PROT_RSHELL(1)
public var protocol_: RcpProtocols {
  get {...}
set {...} }
public enum RcpProtocols : Int32 { case protRexec = 0 case protRshell = 1 }

Default Value

0

Remarks

This property determines the protocol mechanism used to communicate with the remote host. It has two possible values:

protRexec (0)The class uses the REXEC protocol is used for data transfer.
protRshell (1)The class uses the RSHELL protocol is used for data transfer.

The default value is protRexec. (protRshell is not generally recommended because of potential security issues.)

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