Adding the Secure File Transfer Task to a schedule
- Select Maintenance > System Administration > Job Scheduler.
- Click Add Schedule.
- Specify the name of the Secure File Transfer Task in the Task Description field.
- Select Secure File Transfer Task from the Task Type drop-down list.
- Fill in the remaining fields. See "Adding tasks to the Job Scheduler" in the Infor Workforce Management Time and Attendance Implementation and Administration Guide.
- Click Submit.
- Click OK.
- In the Task Schedule list, click Parameters next to the Secure File Transfer Task you created.
-
Click Add File Transfer Parameters
and specify this information:
- SFTP Endpoint
- Select the SFTP Endpoint that you have already configured in Configuring a file transfer endpoint.
- Type
- You can specify either Export or Import. Export sends the file to an external system that is accessible by WFM. Import will transfer the file from an external system to WFM.
- Source Folder
- Specify the name of the source folder/directory that contains the file(s) you want to transfer.
- Source File
- Specify the name of the source file(s) you want to
transfer. You can use file masking to specify multiple files. Use
the characters '?' and '*' to represent single or multiple wildcard
characters. For example, *.csv will select all
csv files and *-???.csv will select all csv
files that begin with any amount of characters followed by a "-"
character and then three other characters.
You should note the following about file masking:
- File masking is not permitted on file extensions.
- If the file mask produces no matches, no file will be transferred when the job scheduler task runs and a log message will state that no matching file exists.
- If the file mask produces multiple matches and the job scheduler fails to transfer any of the files, Job Scheduler will retry the file transfer the next time the task runs.
- By default, files with the extension of .bak will not be transferred. This extension typically signifies a backup copy of a file.
- Destination Folder
- Specify the name of the destination folder/directory.
- Source Archive Option
- You can specify one of these options:
- None: Once source files are copied to the destination file location, do nothing to the source files.
- Archive: Once source files are copied successfully to the destination file location, move the source files to the Archive Folder.
- Purge: Once source files are copied successfully to the destination file location, delete the source files.
- Archive Folder
- Specify a folder/directory for archiving files. This option
is only used if Archive is
selected from the Source Archive
Option above. Note: The Source Folder and Archive Folder you specify should be on the same server and it is the user's responsibility to maintain the folder as per their business requirements.
- Click OK.
-
Specify this information:
- Log Folder
- Must be set to the directory where the logs are written. The directory path must not include the client and server names. The client and server names are inserted automatically at runtime.
- Log Level
- Set to None, error, warn, info, or debug as required.
- To create another secure file transfer, click Add File Transfer Parameters and add the information for the new file(s).
- Once you are finished adding all files that you want to transfer, click Submit.
You can also click Edit to modify an existing file transfer or Remove to remove a file transfer.
Note: The home directory of the user specified in this task
determines the perceived root of the remote server. When file transfer occurs, the
home directory of the user is prepended to any folder/directory path specified in
this task.