<?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: Move file from http cloud serve to another servers directory in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Move-file-from-http-cloud-serve-to-another-servers-directory/m-p/289979#M214591</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/73795"&gt;@nishank_paras&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First we need to asks questions to better understand the http cloud endpoint:&lt;/P&gt;&lt;P&gt;How do you currently accomplish this task outside of NiFi?&lt;BR /&gt;Is it possible to connect via a terminal/command prompt to get the file from the http cloud server?&lt;BR /&gt;Does the http cloud service have a rest-api for getting data from it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first thought would be the invokeHTTP processor to get your file from the http cloud server...&lt;BR /&gt;Then use an UpdateAttribute processor to change the "filename" attribute value on the NiFi FlowFile created by the invokeHTTTP processor...&lt;BR /&gt;&amp;nbsp;You did not mention what you want to do with this file once you have retrieved it ad renamed it in NiFi.&amp;nbsp; Are you trying to write it back to the same http cloud service?&amp;nbsp; Are you trying to write the file to another service/endpoint?&amp;nbsp; Are you writing it to a local directory?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then we can start to look at what processors NiFi may have available to accomplish the same methods.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps get you started,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
    <pubDate>Tue, 18 Feb 2020 13:32:50 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2020-02-18T13:32:50Z</dc:date>
    <item>
      <title>Move file from http cloud serve to another servers directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-file-from-http-cloud-serve-to-another-servers-directory/m-p/289971#M214583</link>
      <description>&lt;P&gt;move a file from:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://10.137.0.107/threatfeeds/files/ip.csv" target="_blank"&gt;EX - http://77.17.6.166/tls/file/nn.csv&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;to: hostname:&lt;STRONG&gt;&lt;A href="http://10.137.0.107/threatfeeds/files/ip.csv" target="_blank"&gt;77.17.6.122&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; remote directory - /&lt;A href="http://10.137.0.107/threatfeeds/files/ip.csv" target="_blank"&gt;tls/file&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and rename as hello.csv&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;guide me with processor an there respective configuration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 09:35:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-file-from-http-cloud-serve-to-another-servers-directory/m-p/289971#M214583</guid>
      <dc:creator>nishank_paras</dc:creator>
      <dc:date>2020-02-18T09:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Move file from http cloud serve to another servers directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-file-from-http-cloud-serve-to-another-servers-directory/m-p/289979#M214591</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/73795"&gt;@nishank_paras&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First we need to asks questions to better understand the http cloud endpoint:&lt;/P&gt;&lt;P&gt;How do you currently accomplish this task outside of NiFi?&lt;BR /&gt;Is it possible to connect via a terminal/command prompt to get the file from the http cloud server?&lt;BR /&gt;Does the http cloud service have a rest-api for getting data from it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first thought would be the invokeHTTP processor to get your file from the http cloud server...&lt;BR /&gt;Then use an UpdateAttribute processor to change the "filename" attribute value on the NiFi FlowFile created by the invokeHTTTP processor...&lt;BR /&gt;&amp;nbsp;You did not mention what you want to do with this file once you have retrieved it ad renamed it in NiFi.&amp;nbsp; Are you trying to write it back to the same http cloud service?&amp;nbsp; Are you trying to write the file to another service/endpoint?&amp;nbsp; Are you writing it to a local directory?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then we can start to look at what processors NiFi may have available to accomplish the same methods.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps get you started,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 13:32:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-file-from-http-cloud-serve-to-another-servers-directory/m-p/289979#M214591</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2020-02-18T13:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Move file from http cloud serve to another servers directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-file-from-http-cloud-serve-to-another-servers-directory/m-p/290043#M214633</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am trying to save it to a remote server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes this task can be done using shell scripting&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 06:22:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-file-from-http-cloud-serve-to-another-servers-directory/m-p/290043#M214633</guid>
      <dc:creator>nishank_paras</dc:creator>
      <dc:date>2020-02-19T06:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Move file from http cloud serve to another servers directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-file-from-http-cloud-serve-to-another-servers-directory/m-p/290101#M214672</link>
      <description>&lt;P&gt;You may use below commands for this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;wget &lt;A href="http://77.17.6.166/tls/file/nn.csv" target="_blank"&gt;http://77.17.6.166/tls/file/nn.csv&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;scp nn.csv username@77.17.6.122:/tls/file/hello.csv&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 17:37:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-file-from-http-cloud-serve-to-another-servers-directory/m-p/290101#M214672</guid>
      <dc:creator>Vj1989</dc:creator>
      <dc:date>2020-02-19T17:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Move file from http cloud serve to another servers directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-file-from-http-cloud-serve-to-another-servers-directory/m-p/290131#M214695</link>
      <description>&lt;P&gt;this is shell scripting i need to do this in nifi&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/74413"&gt;@Vj1989&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 05:43:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-file-from-http-cloud-serve-to-another-servers-directory/m-p/290131#M214695</guid>
      <dc:creator>nishank_paras</dc:creator>
      <dc:date>2020-02-20T05:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Move file from http cloud serve to another servers directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-file-from-http-cloud-serve-to-another-servers-directory/m-p/290461#M214895</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/73795"&gt;@nishank_paras&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the invokeHTTP processor to fetch your file.&amp;nbsp; Here is an example:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-02-25 at 2.15.36 PM.png" style="width: 942px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26492i08D5BD80361D6C93/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-02-25 at 2.15.36 PM.png" alt="Screen Shot 2020-02-25 at 2.15.36 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The above example fetches the Apache nifi-toolkit-1.11.3-bin.tar.gz file.&lt;BR /&gt;&lt;BR /&gt;You can then construct a dataflow using other processors to manipulate as you want or simply just connect to another invokeHTTP processor that instead of "GET" uses "PUT" to put your file "nn.csv" at the new http endpoint.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 19:20:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-file-from-http-cloud-serve-to-another-servers-directory/m-p/290461#M214895</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2020-02-25T19:20:20Z</dc:date>
    </item>
  </channel>
</rss>

