SFTP Step Configuration - Increase File Size/Count?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2022 01:38 PM
I'm curious if there's a way to change the max file size/max number of files in SFTP steps within Actions.
I'm finding that the "Copy Directory" step fails in a directory that contains 400+ files, even if I'm only having it move 1 or 2 files in the end. Alternatively, it fails in a small directory of 2 files when being run against a 280KB file but works fine on the other 9KB file in that same directory.
I'm able to check a box for "Apply Move Conditions" and set Maximum File Size (Bytes) to 500000, but when the Action is tested, the execution log shows a new setting of Maximum File Size (KB) = 100 and Maximum Number of Files = 10, neither of which I can seem to edit or make changes to in the step. I've included a screenshot to show what I'm talking about.
Is there any way to change these parameters for the SFTP "Copy Directory" step?
Thanks!
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2022 05:32 PM
Just in case I'm barking up the wrong tree, here is the error code I receive when attempting to run the Copy Directory step on the directory with 400+ files:
Cannot create task: CloseTask, SFTPJob is terminated due to: SSH channel 20 activity timeout in state READY_FOR_DATA_TRANSFER. (timeout = 120000) com.snc.ssh.SSHTimer@3f5cb927 while in state READY_FOR_DATA_TRANSFER
If it's not an issue with the parameters listed in the first post above, maybe it has something to do with the com.snc.ssh.SSHTimer value?
I'm not finding any documentation around this error, and I have tried manually adding mid.ssh.command_timeout and mid.ssh.command_timeout_ms and setting both to 300000 as suggested in KB0621670 and KB0782247.
Any thoughts or ideas on ways to extend this timeout timer, or to work around the parameters that seem to be pre-defined in the SFTP steps?
Thanks!