create-file Command

The create-file command allows you to create a Reality file or UNIX directory (as appropriate) in the remote environment.

Syntax

create-file RealityFile {Modulo}
- or -
create-file Directory

Syntax Elements

RealityFile The name of the Reality file to be created.

Modulo This is the modulo for the new Reality file. Modulo must not be 0, negative or non-numeric. If Modulo is omitted, a default value of 11 is used. Note that separation is always 1.

Directory The pathname of the UNIX directory to be created.

Remarks

create-file can only be used if a connection has already been established using the connect command.

If a modulo is specified when creating a UNIX directory, it is ignored.

Example

sft> create-file NEWFILE 5
sft>

In the above example, a Reality file called NEWFILE is created with modulo and separation values of 5,1.