You can define an SFTP job to transfer binary and ASCII files using the Secure File Transfer Protocol (SFTP). The SFTP protocol supports wildcard transfers, so you can upload multiple files to a remote FTP server or download multiple files to the agent computer.
The SFTP job supports the following types of authentication for file transfer:
This authentication requires the FTP user ID and password for authentication to the SFTP server.
This authentication requires the private key and passphrase for authentication to the SFTP server. If you create the private key using a blank passphrase, the passphrase is not required for the authentication.
Note: The SFTP job does not support public or private keys that are generated using Putty Gen or that are encrypted in DES3 format.
This authentication requires both the FTP user ID and password and the private key and passphrase for authentication to the SFTP server.
Note: To run these jobs, your system requires CA WA Agent for UNIX, Linux, Windows, or i5/OS.
Follow these steps:
The Application appears in the workspace.
The SFTP icon appears on the Application workspace view.
The Basic page of the SFTP dialog opens.
Defines the name of the job that you want to schedule.
Limits: 128 alphanumeric characters, plus the special characters commercial at (@), pound (#), dollar sign ($), underscore (_), square brackets ([]), brace brackets ({}), and percent sign (%) as a symbolic variable introducer character.
Specifies the name of the agent where the secure transfer takes place.
Note: The drop-down list displays all the agents that are defined in the Topology for the specified job type.
Indicates the direction of transfer (Download or Upload).
Default: Download
Specifies the type of data you are transferring. Options are as follows:
Indicates a binary transfer.
Indicates an ASCII transfer.
i5/OS: If the ASCII file to be transferred already exists on the target computer, the file is written using the encoding of the existing file. If the file does not exist, the file is written using the ASCII CCSID (Coded Character Set Identifier) defined on the agent. The default is 819.
Note: To transfer ASCII files, we recommend that the SFTP server that your agent computer communicates with is compliant with protocol level 4 or higher. To transfer ASCII files to or from an SFTP server that is compliant with protocol level 3 or lower, select the operating system type of the SFTP server from the The remote os type drop-down.
Default: Binary
Specifies the DNS name or IP address of a remote server.
Example: 172.24.36.107 (IPv4) or 0:0:0:0:0:FFFF:192.168.00.00 (IPv6)
Specifies the file's remote source directory (if downloading) or the file's remote destination directory (if uploading).
Specifies the file's source location (if downloading) or the file's destination (if uploading). This field is not required if you are uploading multiple files.
Notes:
Specifies the file's destination (if downloading) or the file's source location (if uploading).
Notes:
Specifies the user ID of the user with the authority to download the file from the remote FTP server or upload the file to the remote FTP server. This field is required for user authentication and multifactor authentication. The user must be defined in the Topology. This field supports the use of a namespace for a user that has more than one password. Contact your administrator for the user name defined in the Topology.
Examples: Bob, Production:Bob
Notes:
Specifies the full path for the private key file on the FTP client. This field is required for public-key and multifactor authentication.
Limits: 256 characters
Specifies the passphrase for the private key.
Limits: 256 characters
Note: If you created the private key using a blank passphrase, this field is not required for authentication.
Specifies the port number of the remote server.
Default: 22
Specifies a user ID on the UNIX or Linux computer where the agent is installed. This user ID determines the access permissions of a downloaded file on the agent computer and does not apply to uploads. When the file is downloaded, the file is created with this user as the file owner. To set the owner of a downloaded file, the agent must run as root.
Notes:
Specifies the user ID that runs the job on behalf of the agent user. You can use this field to access remote resources that the agent user does not have access to. You are restricted to how you can access data on remote computers. To access restricted remote resources, you can run the job under a user ID that has access to those resources. The user must be defined in the Topology. This field supports the use of a namespace for a user that has more than one password. Contact your administrator for the user name defined in the Topology.
Examples: Bob, Production:Bob
Notes:
Specifies the remote operating system type in a secure file transfer (UNIX or Windows). The remote operating system type is used to determine the path separator on the remote system.
Note: To transfer ASCII files to or from an SFTP server that is compliant with protocol level 3 or lower, select the operating system type of the SFTP server.
The Secure FTP job is defined.
Example: Upload a File Using User Authentication
Suppose that you want to upload the logs.tar file to the /u/tmp directory on the hpsupport server using user authentication. The job uses the Secure File Transfer Protocol (SFTP).
Follow these steps:
Example: Upload Multiple Files Using User Authentication
This example uploads the files in the c:\temp\upload directory to the /u1/build/uploaded directory on the aixunix server using user authentication. The job uses the Secure File Transfer Protocol (SFTP). Since the value in the Local file name field contains a wildcard, no value is specified in the Remote file name field.
Follow these steps:
Example: Upload a File Using Public-Key Authentication
This example uploads the upload_test.txt file from the C:\ca directory to the E:\ftp directory on a remote FTP server using public-key authentication.
Follow these steps:
Example: Upload a File Using Multifactor Authentication
This example uploads the upload_test.txt file from the C:\ca directory to the E:\ftp directory on a remote FTP server using multifactor authentication.
Follow these steps:
Example: Download a File from an FTP server to a Remote Location using Run as User
Suppose that you want to download a file (download_test.txt) from a remote FTP server to a remote location that the agent user does not have access to. An additional user (user2) that has access to the remote location is specified.
Follow these steps:
Example: Download an ASCII File from an SFTP Server that is Compliant with Protocol Level 3 or Lower
Suppose that you want to download an ASCII file (download_test.txt) from a remote SFTP server (linuxserver) that is compliant with protocol level 3 or lower. Select the operating system (UNIX) of the SFTP server from the The remote os type drop-down.
Follow these steps:
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|