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
+34-4Lines changed: 34 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@ description: Automate tasks that monitor, create, manage, send, and receive file
4
4
services: logic-apps
5
5
ms.suite: integration
6
6
author: divyaswarnkar
7
-
ms.reviewer: estfan, klam, logicappspm
7
+
ms.reviewer: estfan, logicappspm
8
8
ms.topic: article
9
-
ms.date: 03/7/2020
9
+
ms.date: 04/13/2020
10
10
tags: connectors
11
11
---
12
12
@@ -150,6 +150,16 @@ If your private key is in PuTTY format, which uses the .ppk (PuTTY Private Key)
150
150
151
151
1. Save the private key file with the `.pem` file name extension.
152
152
153
+
## Considerations
154
+
155
+
This section describes known issues about this connector's triggers and actions.
156
+
157
+
<aname="create-file"></a>
158
+
159
+
### Create file
160
+
161
+
To create a file on your SFTP server, you can use the SFTP-SSH **Create file** action. When this action creates the file, the Logic Apps service also automatically calls your SFTP server to get the file's metadata. However, if you move the newly created file before the Logic Apps service can make the call to get the metadata, you get a `404` error message, `'A reference was made to a file or folder which does not exist'`. To skip reading the file's metadata after file creation, follow the steps to [add and set the **Get all file metadata** property to **No**](#file-does-not-exist).
162
+
153
163
<aname="connect"></a>
154
164
155
165
## Connect to SFTP with SSH
@@ -216,9 +226,29 @@ This trigger starts a logic app workflow when a file is added or changed on an S
216
226
217
227
<aname="get-content"></a>
218
228
219
-
### SFTP - SSH action: Get content using path
229
+
### SFTP - SSH action: Get file content using path
230
+
231
+
This action gets the content from a file on an SFTP server by specifying the file path. So for example, you can add the trigger from the previous example and a condition that the file's content must meet. If the condition is true, the action that gets the content can run.
232
+
233
+
<aname="troubleshooting-errors"></a>
234
+
235
+
## Troubleshoot errors
236
+
237
+
This section describes possible solutions to common errors or problems.
238
+
239
+
<aname="file-does-not-exist"></a>
240
+
241
+
### 404 error: "A reference was made to a file or folder which does not exist"
242
+
243
+
To create a file on your SFTP server, you can use the SFTP-SSH **Create file** action. When this action creates the file, the Logic Apps service also automatically calls your SFTP server to get the file's metadata. However, if you move the newly created file before the Logic Apps service can make the call to get the metadata, you get this `404` error message:
244
+
245
+
`'A reference was made to a file or folder which does not exist'`
246
+
247
+
To skip reading the file's metadata after file creation, follow these steps:
248
+
249
+
1. In the **Create file** action, open the **Add new parameter** list, select the **Get all file metadata** property, and set the value to **No**.
220
250
221
-
This action gets the content from a file on an SFTP server. So for example, you can add the trigger from the previous example and a condition that the file's content must meet. If the condition is true, the action that gets the content can run.
251
+
1. If you need this file metadata later, you can use the **Get file metadata**action.
0 commit comments