## zowe › profiles › create › zftp-profile

Configuration profile for z/OS FTP

Warning: This command has been deprecated.
Recommended replacement: The 'config init' command

#### Usage

zowe profiles create zftp-profile <profileName> [options]

#### Positional Arguments

- `profileName` (string)

  - Specifies the name of the new zftp profile. You can load this profile by using the name on commands that support the "--zftp-profile" option.

#### FTP Connection options

- `--host` | `-H` (string)

  - The hostname or IP address of the z/OS server to connect to.

- `--port` | `-P` (number)

  - The port of the z/OS FTP server.

    Default value: 21

- `--user` | `-u` (string)

  - Username for authentication on z/OS

- `--password` | `-p` | `--pass` | `--pw` (string)

  - Password to authenticate to FTP.

- `--secure-ftp` (boolean)

  - Set to true for both control and data connection encryption, 'control' for control connection encryption only, or 'implicit' for implicitly encrypted control connection (this mode is deprecated in modern times, but usually uses port 990). Note: Unfortunately, this plugin's functionality only works with FTP and FTPS, not 'SFTP' which is FTP over SSH.

    Default value: true

- `--connection-timeout` | `--ct` (number)

  - How long (in milliseconds) to wait for the control connection to be established.

    Default value: 10000

- `--encoding` | `--ec` (string)

  - The encoding for download and upload of z/OS data set.

#### TLS / Secure Connection options

- `--reject-unauthorized` | `--ru` (boolean)

  - Reject self-signed certificates. Only specify this if you are connecting to a secure FTP instance.

- `--server-name` | `--sn` (string)

  - Server name for the SNI (Server Name Indication) TLS extension. Only specify if you are connecting securely

#### Options

- `--overwrite` | `--ow` (boolean)

  - Overwrite the zftp profile when a profile of the same name exists.

- `--disable-defaults` | `--dd` (boolean)

  - Disable populating profile values of undefined properties with default values.

#### Examples

- Create a zftp profile called 'myprofile' with default settings (port, timeout, etc.) to connect with the host system 123.:

  - `zowe profiles create zftp-profile myprofile -u ibmuser -p ibmp4ss -H sys123`