<?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>topic Re: export txt file to FTP in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/export-txt-file-to-FTP/m-p/422961#M103998</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use filename statement below.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;filename server ftp "/ftp01/ftp_lib/&amp;amp;sasData..TXT" host="XX.XXX.X.XX"&lt;BR /&gt;user="my_user" pass="&lt;SPAN&gt;my_pass&lt;/SPAN&gt;" ;&lt;BR /&gt;data _null_;&lt;BR /&gt;infile "/my_out/&amp;amp;sasData..TXT" recfm=n ;&lt;BR /&gt;input x $char1. @@;&lt;BR /&gt;file server recfm=s ;&lt;BR /&gt;put x $char1. @@;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Dec 2017 06:59:25 GMT</pubDate>
    <dc:creator>semihascioglu</dc:creator>
    <dc:date>2017-12-21T06:59:25Z</dc:date>
    <item>
      <title>export txt file to FTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-txt-file-to-FTP/m-p/347893#M80473</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to know that if it is possible to export a sas table or txt file from enterprise guide to a FTP location.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2017 19:42:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-txt-file-to-FTP/m-p/347893#M80473</guid>
      <dc:creator>bpang</dc:creator>
      <dc:date>2017-04-06T19:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: export txt file to FTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-txt-file-to-FTP/m-p/347899#M80476</link>
      <description>&lt;P&gt;Yes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The FILENAME statement can create a connection to an FTP site as the destination of any SAS procedure or process that writes to a fileref.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may not want to use a native SAS file format as there are issues about cross operating system compatibility but Proc CPORT creates files intended for that purpose and the companion Proc Cimport will recreate SAS datasets. Proc Export may be all you need to create txt files though you may have to worry about FTP settings for plain text not binary transfer.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2017 19:50:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-txt-file-to-FTP/m-p/347899#M80476</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-06T19:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: export txt file to FTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-txt-file-to-FTP/m-p/422961#M103998</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use filename statement below.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;filename server ftp "/ftp01/ftp_lib/&amp;amp;sasData..TXT" host="XX.XXX.X.XX"&lt;BR /&gt;user="my_user" pass="&lt;SPAN&gt;my_pass&lt;/SPAN&gt;" ;&lt;BR /&gt;data _null_;&lt;BR /&gt;infile "/my_out/&amp;amp;sasData..TXT" recfm=n ;&lt;BR /&gt;input x $char1. @@;&lt;BR /&gt;file server recfm=s ;&lt;BR /&gt;put x $char1. @@;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 06:59:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-txt-file-to-FTP/m-p/422961#M103998</guid>
      <dc:creator>semihascioglu</dc:creator>
      <dc:date>2017-12-21T06:59:25Z</dc:date>
    </item>
  </channel>
</rss>

