<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to copy multiple files from SFTP server to HDFS using Nifi in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-copy-multiple-files-from-SFTP-server-to-HDFS-using/m-p/117293#M55089</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/5078/pvillard.html" nodeid="5078"&gt;@Pierre Villard&lt;/A&gt; 

Thank you very much dear! You made my day!&lt;/P&gt;</description>
    <pubDate>Wed, 22 Feb 2017 13:20:54 GMT</pubDate>
    <dc:creator>kib</dc:creator>
    <dc:date>2017-02-22T13:20:54Z</dc:date>
    <item>
      <title>How to copy multiple files from SFTP server to HDFS using Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-copy-multiple-files-from-SFTP-server-to-HDFS-using/m-p/117291#M55087</link>
      <description>&lt;P&gt;I have multiple files on my SFTP server with different filenames(filenames  have date time appended).Now, I am using ListSftp, RouteOnAttribute, FetchSftp and putHdfs processors. But on the FetchSftp processor I have doubt on how to put all the files on the remote SFTP server to HDFS.
Is there any option to provide the list  of the file names to "Remote File" property of FetchSftp processor configuration?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 22:14:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-copy-multiple-files-from-SFTP-server-to-HDFS-using/m-p/117291#M55087</guid>
      <dc:creator>kib</dc:creator>
      <dc:date>2017-02-21T22:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy multiple files from SFTP server to HDFS using Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-copy-multiple-files-from-SFTP-server-to-HDFS-using/m-p/117292#M55088</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1178/kibgeb.html" nodeid="1178"&gt;@Kibrom Gebrehiwot&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;The ListSFTP processor will list all the files on your remote SFTP server based on your parameters and will generate one flow file with only metadata (attributes) for each listed file. Then this flow file (with no content yet) will be transmitted to your FetchSFTP processor that will use the metadata of the incoming flow file to actually fetch the content of the remote file into the flow file content.&lt;/P&gt;&lt;P&gt;To use the attributes of the incoming flow file, you should configure the remote file property with something like:&lt;/P&gt;&lt;PRE&gt;${path}/${filename}&lt;/PRE&gt;&lt;P&gt;You can find an example here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/hortonworks-gallery/nifi-templates/blob/master/templates/List_and_Fetch_SFTP_template.xml" target="_blank"&gt;https://github.com/hortonworks-gallery/nifi-templates/blob/master/templates/List_and_Fetch_SFTP_template.xml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 22:30:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-copy-multiple-files-from-SFTP-server-to-HDFS-using/m-p/117292#M55088</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2017-02-21T22:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy multiple files from SFTP server to HDFS using Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-copy-multiple-files-from-SFTP-server-to-HDFS-using/m-p/117293#M55089</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/5078/pvillard.html" nodeid="5078"&gt;@Pierre Villard&lt;/A&gt; 

Thank you very much dear! You made my day!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 13:20:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-copy-multiple-files-from-SFTP-server-to-HDFS-using/m-p/117293#M55089</guid>
      <dc:creator>kib</dc:creator>
      <dc:date>2017-02-22T13:20:54Z</dc:date>
    </item>
  </channel>
</rss>

