Skip to content

Spanning session connections across the job

Post any question you may have in regards to GoAnywhere MFT and let our talented support staff and other users assist you.
If you need a quicker response, please create a support ticket via the customer portal my.goanywhere.com or contact our support team by email at [email protected].
  • JonEBee Offline
  • Posts: 1
  • Joined: Tue Oct 23, 2018 2:24 pm

Spanning session connections across the job

Post by JonEBee »

Is it possible to hold an FTP connection open through the length of a short job and have an single task SFTP connection in the middle? More precisely, enable two FTP connections at the same time, one for the duration of the job and the SFTP connection for a single task in between two of the FTP tasks?

Thanks.
Sr. Interface Developer
Ardent Health Services

Re: Spanning session connections across the job

Post by Support_Philip »

By default, when the FTP task is finished, the connection with the server (session) will be disconnected and closed. When using an FTP Task in a Loop or as part of a multi-step workflow, the FTP session can be kept open and reused rather than closing and reopening the session for each FTP Task to the same server. To keep a session open or to hand off the open session to the next FTP task in a Project, use the Input Session ID and Output Session ID variables on the Advanced panel of the FTP Task. If this is the first FTP session in the Project and other tasks will use this connection, only specify the Output Session ID (for example, FTPSession). The next task that uses the session would specify ${FTPSession} in the Input Session ID field. When no additional tasks in the Project need the open session, it should be closed using the Close Session Task (using the Session ID value of ${FTPSession}).
Philip Horn
Senior Support Analyst
e. [email protected]
p. 1-800-949-4696
w. GoAnywhere.com | HelpSystems.com
Post Reply