Changing FTP resources

Use the CHGFPRICC command to edit the parameters of an FTP resource.

If you have Cloud Storage Solutions Advanced Edition, you can specify that Cloud Storage Solutions encrypt files at rest in the cloud when they are copied there using this resource. To specify a resource for at rest encryption, you must obtain the keystore file name and library, and the key label, from the administrator who created them on the IBM i computer. For more information on encryption, see Cloud Storage Solutions encryption.

Obtain new resource information from the server administrator.

If you have Cloud Storage Solutions Advanced Edition, you can specify that Cloud Storage Solutions compress files before copying them to the cloud, and then decompress the files after copying them from the cloud. You can enable compression when you create or change the resource.

You cannot use this command to change the resource name. This command is not threadsafe.

  1. From the IBM i command line, type CHGFPRICC, and press F4.
  2. In the Resource name field, type the name of the resource, and press Enter.
    If you do not know the resource name, press F4 to display a list of resources.
  3. Edit one or more of the following fields, and press Enter:
    Field Description
    Resource description Edit the description.
    Login ID Change the name of the authorized user. For security reasons, the default value is *SAME. To keep the original value, leave the *SAME value in the field.
    Login Password Change the login password. For security reasons, the default value is *SAME. To keep the original value, leave the *SAME value in the field.
    Use compression Type *YES to compress files before they are copied to the cloud. Compression is available with Advanced Edition.
    Use encryption Type *YES and press Enter, then provide values in subfields. Encryption is available with Advanced Edition.
    Keystore file A subfield of the Use encryption field. Type the name of the keystore file.
    Library A subfield of the Keystore file field. Type the name of the library that contains the keystore file.
    Key label A subfield of the Use encryption field. Type the name of the key label.
    Root directory Change the root directory. The directory path must start with a slash (/) and is not case-sensitive.
    Resource URI Change the resource URI. Include the fully-qualified name of the FTP server. The protocol is optional. If the port number is not the default of 21 you must include it, for example: ftp://myserver.enterprise.com:23.
    Full qualified IFS Dir name [This parameter is not currently implemented.] Optional. To display, press F10 and page down. Type the fully-qualified path location of the directory to associate with the resource. After you copy files from this directory to the resource, Cloud Storage Solutions keeps the files in both locations synchronized. Type *NONE to remove the current data and set the value to *NONE.