UNIX-Connect > UNIX-Connect User Guide > File Transfer > SFT Commands > set Command

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

set Command (UNIX-Connect User Guide) (m603006+set.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

set Command

The set command allows you to change the file transfer options, BINARY and OVERWRITE. See File Transfer Options.

Syntax

set [ Option { Value } || * ]

Syntax Elements

Option must be either BINARY or OVERWRITE.

Value is the required value for the specified option; either ON or OFF. If Value is omitted, the option is reset to its default value (OFF).

* Resets both options to their default values (OFF).

By default, the BINARY and OVERWRITE options are both set to OFF.

Example 1

sft> set overwrite on

sft> status

SFT STATUS
DESTINATION   System Name : SPI-20
              User Id     : PROG1
              Account Name: TEST
SETTINGS      Binary      : OFF
              Overwrite   : ON
sft>

Example 2

sft> set binary on

sft> status

SFT STATUS
DESTINATION   System Name : SPI-20
              User Id     : PROG1
              Account Name: TEST
SETTINGS      Binary      : ON
              Overwrite   : ON
sft>

Example 3

sft> set *

sft> status

SFT STATUS
DESTINATION   System Name : SPI-20
              User Id     : PROG1
              Account Name: TEST
SETTINGS      Binary      : OFF
              Overwrite   : OFF
sft>

RealityV15.0Comment on this topic