Changes to the sftp command that might require a migration action

Table 1 lists the changes to the sftp command that might require a migration action and the accompanying actions.

Table 1. Changes to the sftp command that might require a migration action
What changed Migration action needed?

The -P option

Previously, this option was used to specify the sftp_server_path. Now, this option is used to specify the port to connect to on the remote host.

Yes, if you specify the sftp_server_path. If you specify -P sftp_server_path, the following message is returned: FOTS1401 filename line number: Bad line number

Action: Use the -D option to specify the sftp_server_path.

ln and symlink subcommands

Previously, the ln and symlink subcommands created a symbolic link from oldpath to newpath on the remote host. Now, if the -s flag is specified, the created link is a symbolic link. Otherwise it is a hard link.

Yes, if you create a symbolic link.

Action: Run the sftp ln subcommand with the -s flag to create a symbolic link or create a hard link without the flag.