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.
2 posts Page 1 of 1

JonEBee

Posts: 1
Joined: Tue Oct 23, 2018 2:24 pm

Post by JonEBee » Thu Dec 13, 2018 12:31 pm
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

Support_Philip

User avatar
Posts: 38
Joined: Wed Jun 21, 2017 8:12 am

Post by Support_Philip » Thu Dec 13, 2018 4:02 pm
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
Support Analyst
e. philip.horn@helpsystems.com
p. 1-800-949-4696
w. GoAnywhere.com | HelpSystems.com
2 posts Page 1 of 1