Using the File Transfer Execution Method


File Transfer Execution Method

JAMS Ships with a built in fill-in-the-blank FTP Client that can be used to automate FTP, SFTP, FTPS, and SCP. This article outlines the creation of a Job to retrieve files from an SFTP server.

Create a Job using the File Transfer Execution Method

  1. In the JAMS Client, select the folder where the Job should be created then hit the Add button
  2. Name the Job and give it a description then select the File Transfer Execution Method
    NOTE: Select Edit this job definition after adding will open the properties view of the job after adding.
  3. Set Email Address and Username as required from within the Properties tab.
    NOTE: The username should be one that can run on Windows on the local JAMS Server or Windows Agent Machine.
  4. The Source contains multiple tabs of settings for the Job. These tabs are explained in further steps
  5. In the Files Tab on the Job Source, set the following:
    1. Set the Transfer Type to SFTP. This will allow users to transfer the files through this protocol to a Linux Machine.
    2. Ensure the Drop Down is set to Get local files from remote server. This drop-down allows users to either send or receive files between their local machine and the remote node.
    3. For this example, leave the Recursive box unchecked. This option allows users to transfer all files in a given directory at once
    4. Set the Remote Server Name to the DNS name or IP address of the Linux node.
    5. Set the Remote Directory to the location of the File on the remote node
    6. Set the Remote File Specification to the name of the file being transferred. Include the file extension.
      NOTE: A file mask such as *.txt may also be used.
    7. Set the Local File Specification to the directory where the file will land on the local machine.
    8. If the file should be deleted from the remote node after transfer, check the Delete After Transfer box. Otherwise, leave this box unchecked.
  6. The Security Tab on the Job Source lets users set the credentials to use for authentication:
    1. In the example Below, User Security is used because the user Kevin already has Public Key Authentication set up between JAMS and the Linux Node.
    2. A user can also be manually specified, by setting the Username and Password of a given user that would authenticate to the Linux Node.
      NOTE: Ensure that the user or credentials configured in the security tab have access to both the remote node and the local location.
  7. The Zip Tab on the Job Source allows users to manipulate or Zip files in the transfer process:
    1. Unzip after download allows a user to unzip a zipped file after retrieving it.
    2. Delete zip file after extraction allows a user to delete a source zip file that has already been extracted.
    3. Zip File Directory is the location of the File
    4. Zip File Name is the name of the zip file to be transferred
    5. Credential for Archiver and Password for Archiver allows a user to set the credentials used in the zip transfer
  8. The Retry Tab on the Job Source allows users to specify how many times a failed FTP Job should retry, as well as the interval between those attempts:
    1. In the Maximum Retries section, set the number of times the Job should retry on failure. The Retry number is considered to be the number of attempts subsequent to the initial scheduled attempt.
    2. Set the Retry Delay. This delay will occur between the time the initial attempt failed and the time the new attempt will begin.
  9. In the Options Tab on the Job Source, users can set the following:
    1. The Server Type, which can be set to Windows, Unix, or Unknown.
      NOTE: Setting the Server Type to Unknown will not cause any major issues.
    2. The Port which will be used for the connection, the Timeout window for the connection, and the Minimum Key Size for the transfer.
      NOTE: When set to 0, JAMS will use a Minimum Key Size of 1024. The maximum Key Size that can be used is 8192. 

  10. Select the Properties tab
  11. In the Submit Options section, set the Username to JAMS (or any other user on windows that can execute JAMS Jobs.
  12. If not running on the local JAMS Server, define an Agent by adding the property.
  13. The Job is now ready to be submitted ad-hoc or the Scheduled Date and Scheduled Time within the Schedule Trigger can be defined as necessary.
Have more questions? Submit a request


  • Avatar
    varalakshmi annem

    do we have native SFTP client for Linux in JAMS?

  • Avatar
    Gennaro Piccolo

    Hello Varalakshmi, we do not have a native SFTP client for Linux in JAMS at this time. We recommend creating a shell script to perform SFTP transfers on Linux machines.

  • Avatar
    Reilly, Todd

    I'd say it was semi-helpful. On the Properties tab for this, in the File Transfer section, what is the difference between the FTP Credential and the File Transfer Connection? Wouldn't the connection use the same credential as the FTP Credential?

  • Avatar
    Karthik Palanivelappan

    If the target folder doesn't exist, will JAMS automatically create the folder while performing the file transfer?

  • Avatar
    Daniel Williams

    It would be really helpful to have the of transfer types defined in this article. For example there is a "copy" type. What does that mean?

  • Avatar
    Gennaro Piccolo

    Hello Daniel, you can find more information on the File Transfer method, in our documentation.

  • Avatar
    Gennaro Piccolo

    @Todd - Technically yes, but you can override the connections credential at the job level if you wish.
    @Kpalanivelappan - JAMS will not automatically create the destination folder unless the Recurse option is used.
    @Daniel - The copy type is used to copy files from one physical location to another. You can use file shares or local paths in the remote and local path fields.

  • Avatar
    Daniel Williams

    @Gene, when I select Copy, the remote location boxes get greyed out in the UI. I cannot put input in them. Is this a bug? What am I missing? This is what I thought it should be but when half the UI got greyed out when selected I got a little confused. Please reach out if you would like screenshots or anything.

  • Avatar
    Gennaro Piccolo

    @Daniel, I can't post screen shots in the comments section. The remote server and remote directory fields are not used when the Copy option is selected because they pertain to the FTP functionality. If Copy is selected and the Get local files option is selected, then you will be copying from the location in the Remote file specification field to the location in the Local file specification field. If you have further questions, please submit a ticket so that we can best support you.

    Edited by Gennaro Piccolo