The REMOTEDIR statement specifies the directory on a remote server involved in a secure file transfer.
Supported Job Types
This statement is required for the following job types:
Syntax
This statement has the following format:
REMOTEDIR directory
Specifies the file's remote source directory (if downloading) or the file's remote destination directory (if uploading).
Limits: Up to 256 characters; case-sensitive
Example: Upload Multiple Files from the Agent Computer to a Directory on a Remote Server
This example uploads the files in the c:\temp\upload directory to the /u1/build/uploaded directory on the aixunix server. The job uses the Secure File Transfer Protocol (SFTP). Since the LOCALNAME statement contains a wildcard, the REMOTENAME statement is not specified.
AGENT WINAGENT SERVERADDR aixunix TRANSFERDIRECTION UPLOAD USER causer REMOTEDIR /u1/build/uploaded LOCALNAME c:\temp\upload\*
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|