fteCreateEnvironment (set up environment for Redistributable Managed File Transfer Agent)
The fteCreateEnvironment command sets the environment for the configuration and transfer of files for the Redistributable Managed File Transfer Agent.
Purpose
Use the fteCreateEnvironment command to set up the environment for using the Redistributable Managed File Transfer Agent. You can run this command with the -d parameter to specify the location for the MFT Agent data files. If you do not specify the -d parameter, the command creates the data files in the Redistributable Managed File Transfer Agent download location and sets the data path.
Syntax
Parameters
- -d (data_location)
- Optional. This parameter is used for specifying the location of the data files at the time when
the environment is set up.
If you do not specify this parameter, the data directory (if it does not already exist) is created in the location where the Redistributable Managed File Transfer Agent is extracted and the environment variable (BFG_DATA) is set for this location.
- -? or -h
- Optional. Displays command syntax.
Example
In this example, on Windows, the -d parameter specifies the location where the data folders are created:
fteCreateEnvironment -d C:\mftRedistributable\mftData
On Linux®, as a prerequisite, the command has to be run on a bash
shell. In a bash shell, the command can be run in various ways, and the command file needs to be
sourced:
source Path_of_MFTZipBin/fteCreateEnvironment
An alternative
method is: . Path_of_MFTZipBin/fteCreateEnvironment
or, if running from
the directory where the command file is present:. ./fteCreateEnvironment
.
)Return codes
- 0
- Command completed successfully.
- 1
- Command ended unsuccessfully.