The SITECMD statement specifies the commands to execute prior to file transfer. You can use this statement to send site-specific FTP commands to FTP servers.
Supported Job Type
This statement is optional for the FTP job type.
Syntax
This statement has the following format:
SITECMD command
Defines a command that is to be executed prior to file transfer.
Limits: Up to 4070 characters
Note: You can specify any number of SITECMD statements in an FTP job.
Example: Send Two FTP Commands to an FTP Server
This example sends two FTP commands to the FTP server prior to transferring a file:
AGENT FTPAGENT USER user1 SERVERADDR ftp.example.com SERVERPORT 21 TRANSFERDIRECTION D TRANSFERCODETYPE E COMPRESS(8) REMOTEFILENAME /pub/cazip.exe LOCALFILENAME /tmp/bla SITECMD site date SITECMD site recfm=FB
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|