<?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: get file from FTPS site in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/get-file-from-FTPS-site/m-p/419163#M103032</link>
    <description>&lt;P&gt;The FTP site is FTPS and not SFTP. Is there a way from sas to get files transferred? It seems to time out.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2017 12:49:33 GMT</pubDate>
    <dc:creator>ANLYNG</dc:creator>
    <dc:date>2017-12-07T12:49:33Z</dc:date>
    <item>
      <title>get file from FTPS site</title>
      <link>https://communities.sas.com/t5/SAS-Programming/get-file-from-FTPS-site/m-p/418936#M102958</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to get a file from a FTPS site. Until now no luck.&amp;nbsp; I can connect to the server from the sas serves&amp;nbsp;filezilla.&lt;/P&gt;&lt;P&gt;we run sas 9.04.01M3P062415.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the below code from SAS EG/SAS DI the ftps server seems to time out&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;options&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; set=SAS_FTP_AUTHTLS=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"1"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;filename&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Src_file &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ftp&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;'test.txt'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;user&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'myuser'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;pass&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'xxxxxx'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;host&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'ftps.FFF&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;.XX'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;PORT&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;990&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;debug&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;filename&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Tar_file &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"C:\test.txt"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;_NULL_&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;INFILE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Src_file;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;INPUT&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;File&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Tar_file ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;PUT&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;_INFILE_&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 20:21:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/get-file-from-FTPS-site/m-p/418936#M102958</guid>
      <dc:creator>ANLYNG</dc:creator>
      <dc:date>2017-12-06T20:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: get file from FTPS site</title>
      <link>https://communities.sas.com/t5/SAS-Programming/get-file-from-FTPS-site/m-p/418938#M102959</link>
      <description>&lt;P&gt;I get the following message now:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: 500 OOPS: error:00000000:lib(0):func(0):reason(0)&lt;/P&gt;&lt;P&gt;NOTE: &amp;lt;&amp;lt;&amp;lt; 500 OOPS: error:00000000:lib(0):func(0):reason(0)&lt;/P&gt;&lt;P&gt;NOTE: &amp;gt;&amp;gt;&amp;gt; AUTH TLS&lt;/P&gt;&lt;P&gt;NOTE: &amp;lt;&amp;lt;&amp;lt; 500 OOPS: priv_sock_get_cmd&lt;/P&gt;&lt;P&gt;WARNING: Validate the FTP server accepts TLS authentication before using the AUTHTLS option.&lt;/P&gt;&lt;P&gt;ERROR: Invalid Reply received for the AUTH TLS command.&lt;/P&gt;&lt;P&gt;NOTE: The file TAR_FILE is:&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 20:23:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/get-file-from-FTPS-site/m-p/418938#M102959</guid>
      <dc:creator>ANLYNG</dc:creator>
      <dc:date>2017-12-06T20:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: get file from FTPS site</title>
      <link>https://communities.sas.com/t5/SAS-Programming/get-file-from-FTPS-site/m-p/418962#M102964</link>
      <description>&lt;P&gt;Filename ftp is for the standard, unencrypted FTP protocol. FTPS is encrypted, and there is no filename ftps AFAIK.&lt;/P&gt;
&lt;P&gt;Use filename sftp to use the ssh protocol.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 21:22:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/get-file-from-FTPS-site/m-p/418962#M102964</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-12-06T21:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: get file from FTPS site</title>
      <link>https://communities.sas.com/t5/SAS-Programming/get-file-from-FTPS-site/m-p/419163#M103032</link>
      <description>&lt;P&gt;The FTP site is FTPS and not SFTP. Is there a way from sas to get files transferred? It seems to time out.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 12:49:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/get-file-from-FTPS-site/m-p/419163#M103032</guid>
      <dc:creator>ANLYNG</dc:creator>
      <dc:date>2017-12-07T12:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: get file from FTPS site</title>
      <link>https://communities.sas.com/t5/SAS-Programming/get-file-from-FTPS-site/m-p/419171#M103034</link>
      <description>&lt;P&gt;A quick Google search for "sas and ftps" reveals this:&amp;nbsp;&lt;A href="http://support.sas.com/kb/56/154.html" target="_blank"&gt;http://support.sas.com/kb/56/154.html&lt;/A&gt; as the first hit.&lt;/P&gt;
&lt;P&gt;Do you have the necessary requirements in SAS (9.4 TS1 M3 or 9.4 TS1M2 with hotfix), and does the FTPS server support the required options?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 13:04:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/get-file-from-FTPS-site/m-p/419171#M103034</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-12-07T13:04:57Z</dc:date>
    </item>
  </channel>
</rss>

