クラシックファイルタイプは、2021年1月をもって使用不可となりました。クラシックファイルを移行するか、PDFをダウンロードすることができます。 詳細を見る

SFTP List Directories - What's the correct syntax for Directories

回答済み
0

コメント

5件のコメント

  • Paige Ringhofer

    Hi Ryan,

    Thanks for reaching out! I spoke with some of our experts and they mentioned that your Full Path is missing a "\" Please let me know if there is anything else we can help with!

    Thanks!

    0
  • Ryan Clark

    Where should I place the missing "\"? I've tried a couple different versions of this but I'm still getting errors. 

    0
  • Paige Ringhofer

    So in the Full Path screensnip you sent, there are two "\" but the full filepath you sent only has one "\" at the beginning. Let me know if that changes anything!

    Thanks! 

    0
  • Ryan Clark

    Gotcha, sorry these were inconsistent. I've tried a lot of different iterations of directory name. This does not fix the issue.

    Is there any place within Workiva/Wdata to see what directory SFTP is connected to? 

    Similarly, using the "SFTP Connection - Get" command what format does the "Destination" have if I want to send the contents of an uploaded CSV file to a Workiva spreadsheet? 

    Thanks!

    0
  • Jeff Hickey

    Hi Ryan, sometimes it is possible that the user's home directory is not what you're expecting if someone else set it up. A good way to figure out the location path is to start at the beginning and work your way toward the file. What I mean by this is to configure the List Directory command to show everything at the root directory by entering just a period in the Directory field so you can establish your starting point. Screenshot example is below:

    Publish and run the chain to see the output in the LOGS tab. From here you should be able to see any subdirectories available and start to build your path. For example you may see the directory 'WorkivaUnum'. Modify the List Directory command to use this path such as "./WorkivaUnum/." and repeat running the Chain until you work your way to the file your after.

    For the Get command, if you're using CloudRunner, a period is sufficient for the Destination field.

    0

サインインしてコメントを残してください。