You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/connectors/connectors-sftp-ssh.md
+44-23Lines changed: 44 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.suite: integration
6
6
author: divyaswarnkar
7
7
ms.reviewer: estfan, klam, logicappspm
8
8
ms.topic: article
9
-
ms.date: 02/28/2020
9
+
ms.date: 03/7/2020
10
10
tags: connectors
11
11
---
12
12
@@ -32,29 +32,34 @@ For differences between the SFTP-SSH connector and the SFTP connector, review th
32
32
> For logic apps in an [integration service environment (ISE)](../logic-apps/connect-virtual-network-vnet-isolated-environment-overview.md),
33
33
> this connector's ISE-labeled version uses the [ISE message limits](../logic-apps/logic-apps-limits-and-config.md#message-size-limits) instead.
34
34
35
+
You can override this adaptive behavior when you [specify a constant chunk size](#change-chunk-size) to use instead. This size can range from 5 MB to 50 MB. For example, suppose you have a 45 MB file and a network that can that support that file size without latency. Adaptive chunking results in several calls, rather that one call. To reduce the number of calls, you can try setting a 50 MB chunk size. In different scenario, if your logic app is timing out, for example, when using 15 MB chunks, you can try reducing the size to 5 MB.
36
+
35
37
Chunk size is associated with a connection, which means that you can use the same connection for actions that support chunking and then for actions that don't support chunking. In this case, the chunk size for actions that don't support chunking ranges from 5 MB to 50 MB. This table shows which SFTP-SSH actions support chunking:
36
38
37
-
| Action | Chunking support |
38
-
|--------|------------------|
39
-
|**Copy file**| No |
40
-
|**Create file**| Yes |
41
-
|**Create folder**| Not applicable |
42
-
|**Delete file**| Not applicable |
43
-
|**Extract archive to folder**| Not applicable |
44
-
|**Get file content**| Yes |
45
-
|**Get file content using path**| Yes |
46
-
|**Get file metadata**| Not applicable |
47
-
|**Get file metadata using path**| Not applicable |
48
-
|**List files in folder**| Not applicable |
49
-
|**Rename file**| Not applicable |
50
-
|**Update file**| No |
51
-
|||
39
+
| Action | Chunking support | Override chunk size support |
|**Create folder**| Not applicable | Not applicable |
44
+
|**Delete file**| Not applicable | Not applicable |
45
+
|**Extract archive to folder**| Not applicable | Not applicable |
46
+
|**Get file content**| Yes | Yes |
47
+
|**Get file content using path**| Yes | Yes |
48
+
|**Get file metadata**| Not applicable | Not applicable |
49
+
|**Get file metadata using path**| Not applicable | Not applicable |
50
+
|**List files in folder**| Not applicable | Not applicable |
51
+
|**Rename file**| Not applicable | Not applicable |
52
+
|**Update file**| No | Not applicable |
53
+
||||
54
+
55
+
> [!NOTE]
56
+
> To upload large files, you need both read and write permissions for the root folder on your SFTP server.
52
57
53
-
* SFTP-SSH triggers don't support chunking. When requesting file content, triggers select only files that are 15 MB or smaller. To get files larger than 15 MB, follow this pattern instead:
58
+
* SFTP-SSH triggers don't support message chunking. When requesting file content, triggers select only files that are 15 MB or smaller. To get files larger than 15 MB, follow this pattern instead:
54
59
55
-
* Use an SFTP-SSH trigger that returns file properties, such as **When a file is added or modified (properties only)**.
60
+
1. Use an SFTP-SSH trigger that returns only file properties, such as **When a file is added or modified (properties only)**.
56
61
57
-
* Follow the trigger with the SFTP-SSH **Get file content** action, which reads the complete file and implicitly uses message chunking.
62
+
1. Follow the trigger with the SFTP-SSH **Get file content** action, which reads the complete file and implicitly uses message chunking.
58
63
59
64
<aname="comparison"></a>
60
65
@@ -153,13 +158,13 @@ If your private key is in PuTTY format, which uses the .ppk (PuTTY Private Key)
153
158
154
159
1. Sign in to the [Azure portal](https://portal.azure.com), and open your logic app in Logic App Designer, if not open already.
155
160
156
-
1. For blank logic apps, in the search box, enter "sftp ssh" as your filter. Under the triggers list, select the trigger you want.
161
+
1. For blank logic apps, in the search box, enter `sftp ssh` as your filter. Under the triggers list, select the trigger you want.
157
162
158
163
-or-
159
164
160
-
For existing logic apps, under the last step where you want to add an action, choose**New step**. In the search box, enter "sftp ssh" as your filter. Under the actions list, select the action you want.
165
+
For existing logic apps, under the last step where you want to add an action, select**New step**. In the search box, enter `sftp ssh` as your filter. Under the actions list, select the action you want.
161
166
162
-
To add an action between steps, move your pointer over the arrow between steps. Choose the plus sign (**+**) that appears, and then select **Add an action**.
167
+
To add an action between steps, move your pointer over the arrow between steps. Select the plus sign (**+**) that appears, and then select **Add an action**.
163
168
164
169
1. Provide the necessary details for your connection.
165
170
@@ -179,10 +184,26 @@ If your private key is in PuTTY format, which uses the .ppk (PuTTY Private Key)
179
184
180
185
1. In the SFTP-SSH trigger or action you added, paste the *complete* key you copied into the **SSH private key** property, which supports multiple lines. ***Make sure you paste*** the key. ***Don't manually enter or edit the key***.
181
186
182
-
1. When you're done entering the connection details, choose**Create**.
187
+
1. When you're done entering the connection details, select**Create**.
183
188
184
189
1. Now provide the necessary details for your selected trigger or action and continue building your logic app's workflow.
185
190
191
+
<aname="change-chunk-size"></a>
192
+
193
+
## Override chunk size
194
+
195
+
To override the default adaptive behavior that chunking uses, you can specify a constant chunk size from 5 MB to 50 MB.
196
+
197
+
1. In the action's upper-right corner, select the ellipses button (**...**), and then select **Settings**.
0 commit comments