The TRANSFERDIRECTION statement specifies the file transfer direction between the agent computer and the remote server.
Supported Job Types
This statement is required for the following job types:
Syntax
This statement has the following format:
TRANSFERDIRECTION U|UPLOAD|
D|DOWNLOAD
Transfers files from the agent computer to the remote server.
Transfers files from the remote server to the agent computer.
Note: DIRECTION is an alias of TRANSFERDIRECTION.
Example: Upload Files
If a wildcard is used in a local file name for upload, the remote file name (the target) must refer to a directory. In this example, the remote file name is specified as the directory /tmp.
AGENT UNIXAGENT USER test SERVERADDR hprsupp SERVERPORT 5222 TRANSFERDIRECTION U TRANSFERCODETYPE A REMOTEFILENAME /tmp LOCALFILENAME /export/home/test/ftpdata/text*
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|