Back to Blog
![]() You can use file pattern in the source path to synchronize specific files. To synchronize sub-directories, use the Recursive option. You can use a wildcard to watch files in a directory but the wildcard cannot be used for a directory path itself. Watches the file until it reaches a certain size or passes a time limit. ![]() Watches the file until it reaches a certain size or passes a time limit, and then transfers the file from Host2 to Host1. Watches the file until it reaches a certain size or passes a time limit, and then transfers the file from Host1 to Host2.įor more information on file watching, see File Transfer File Watcher Attributes. The following table lists the Transfer Options. If you have successfully watched a file using a variable, you can share that variable to an additional transfer in the Source path within the same job using the following variables. These commands can only be executed on a computer where Control-M/Agent is installed, and the output of the commands (pre or post) appears in the job output. The Pre-execution Command and Post-execution Command fields are used to define specific commands to execute at the beginning or at the end of a job. Select optional parameters if required, as described in File Transfer Job. Select Binary or Ascii from the dropdown list.ĮBCDIC format is supported only when transferring files between two MVS FTP hosts. Select the required options, as described in File Transfer Advanced General Attributes, and click OK. ![]() If a transfer has CJK or Latin-1 characters in the filename, the Control-M/EM server and Control-M/Server databases must be compatible with this format. Select the transfer option, as described in Transfer Options. You can use variables in the left or right transfer fields, as described in File Transfer Advanced General Attributes. Click and define each path by browsing to each file in File Selection or modify the locations in one view in Paths List. Home Directory: Transfer the file to the home directory on each host.Ĭommon Destination Path: Transfers the file to the same location on each host defined here.ĭifferent Destination Paths: Transfers the file to different destinations on each host. If you are transferring a file to multiple hosts, select one of the following: In the right field, browse for the file, directory, or library to transfer. You can override the destination filename, subject, and content type. In AS2 you cannot determine the destination file path. If you are transferring a file to an external user, you must type in the B2B Subfolder home directory (example: /b2bhome) that is defined in MFT Enterprise B2B settings, as described in General Settings. This procedure describes how to define a File Transfer job, which enables you to watch and transfer files from a local host to a remote host, a remote to a local host, or a remote host to another remote host. Watch specific files until a maximum size is reached or a defined time has passed, and then transfer the files, see File Transfer File Watcher Attributes. Rerun file transfers from the exact point where the transfer failed, which saves time and resources, see File Transfer Optional Attributes.ĭetermine how to handle files after a transfer, see File Transfer Advanced General Attributes.Įncrypt the transferred files with different encryption methods, see File Transfer SFTP Attributes.Ĭonfigure pre and post transfer and PGP commands, see File Transfer Commands Attributes. Each definition can transfer one or more files, or an entire directory with the option of including all of its sub-directories.įile Transfer jobs are integrated with other Control-M jobs into a single scheduling environment.Ī File Transfer job enables you to do the following: The File Transfer job enables you to watch and transfer files from a local host to a remote host, a remote host to a local host, a remote host to another remote host, or between Cloud storage buckets and containers.Ī File Transfer job can contain up to five different file transfer definitions, which are executed sequentially.
0 Comments
Read More
Leave a Reply. |