UNIX-Connect > UNIX-Connect User Guide > File Transfer > SFT Commands > create-file 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 ()

create-file Command (UNIX-Connect User Guide) (m603006+createfile.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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.

RealityV15.0Comment on this topic