When running FTP workload between an FTP client and FTP server that are both run on the agent software, you can compress the data for the transfer by specifying the compression level in the job definition.
Note: If the compression level is specified and the FTP server or the FTP client does not run on the agent, the data will be transferred without compression.
To compress the data that you want to transfer, specify the compression level using the COMPRESS operand in the TRANSFERCODETYPE statement. The compression level is a one-digit value from 0 to 9, where 0 is no data compression and 9 is the best data compression.
Example: Compress a File
In this example, the local computer has an agent running as an FTP client. The remote computer has an agent running as an FTP server. Both computers operate on a low bandwidth network.
The following FTP job downloads a large file named largefile.txt from the remote server to the FTP client. The computers are on a low bandwidth network, so the data is compressed at compression level 3.
AGENT WINAGENT USER user1 SERVERADDR aixunix SERVERPORT 5222 TRANSFERDIRECTION D TRANSFERCODETYPE A COMPRESS(3) REMOTEFILENAME /files_to_download/largefile.txt LOCALFILENAME c:\downloaded_files\largefile.txt
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|