<?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 How to write resultset (csv files in this case) onto an FTP server in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34195#M4372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In short, no.&amp;nbsp; The UI does not have a direct method to use FTP.&amp;nbsp; You can follow Tom's suggestion or you can, if you EG admin permits, launch an "X" command to run FTP from the SAS server.&amp;nbsp; The discussions in this thread might be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://communities.sas.com/thread/32788?tstart=0"&gt;http://communities.sas.com/thread/32788?tstart=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach, much less direct, is to deposit the output into a directory that has it's contents periodically FTP'd by a separate process.&amp;nbsp; Again, it is not using the UI, but it gets the job done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2012 13:47:00 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2012-01-24T13:47:00Z</dc:date>
    <item>
      <title>How to write resultset (csv files in this case) onto an FTP server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34190#M4367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have my output of analysis in SAS folders, however I want to export them to an external location (through ftp client) to be consumed by application. Can this be done in EG itself or do I need to do that externally. If yes, how can it be done? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gnyanendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 06:09:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34190#M4367</guid>
      <dc:creator>gnyanendra</dc:creator>
      <dc:date>2012-01-20T06:09:39Z</dc:date>
    </item>
    <item>
      <title>How to write resultset (csv files in this case) onto an FTP server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34191#M4368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider the SAS FTP Access Method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.google.com/search?client=safari&amp;amp;rls=en&amp;amp;q=SAS+FTP+Access+Method&amp;amp;ie=UTF-8&amp;amp;oe=UTF-8"&gt;http://www.google.com/search?client=safari&amp;amp;rls=en&amp;amp;q=SAS+FTP+Access+Method&amp;amp;ie=UTF-8&amp;amp;oe=UTF-8&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 17:49:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34191#M4368</guid>
      <dc:creator>Howles</dc:creator>
      <dc:date>2012-01-20T17:49:24Z</dc:date>
    </item>
    <item>
      <title>How to write resultset (csv files in this case) onto an FTP server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34192#M4369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Howles, The link that you provided directs one to Base SAS reference directory. The code there is definitely helpful, but I was thinking of getting it done from SAS EG, as I dont have Base SAS. So my question is whether it can be done from UI in SAS EG or one will have to edit the code to get it done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 05:28:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34192#M4369</guid>
      <dc:creator>gnyanendra</dc:creator>
      <dc:date>2012-01-24T05:28:42Z</dc:date>
    </item>
    <item>
      <title>How to write resultset (csv files in this case) onto an FTP server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34193#M4370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Obviously you do have Base SAS or else your Enterprise Guide would have no where to send the SAS code that it generates.&lt;/P&gt;&lt;P&gt;Are you asking if there is GUI interface in EG that you can use rather than just building a SAS program step into your EG project file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 10:33:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34193#M4370</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-01-24T10:33:53Z</dc:date>
    </item>
    <item>
      <title>How to write resultset (csv files in this case) onto an FTP server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34194#M4371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom, definitely I did not understand earlier that there has to be Base SAS to run the code. Also, indeed I was asking the same that whether it can be done from UI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 12:53:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34194#M4371</guid>
      <dc:creator>gnyanendra</dc:creator>
      <dc:date>2012-01-24T12:53:19Z</dc:date>
    </item>
    <item>
      <title>How to write resultset (csv files in this case) onto an FTP server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34195#M4372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In short, no.&amp;nbsp; The UI does not have a direct method to use FTP.&amp;nbsp; You can follow Tom's suggestion or you can, if you EG admin permits, launch an "X" command to run FTP from the SAS server.&amp;nbsp; The discussions in this thread might be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://communities.sas.com/thread/32788?tstart=0"&gt;http://communities.sas.com/thread/32788?tstart=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach, much less direct, is to deposit the output into a directory that has it's contents periodically FTP'd by a separate process.&amp;nbsp; Again, it is not using the UI, but it gets the job done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 13:47:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34195#M4372</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2012-01-24T13:47:00Z</dc:date>
    </item>
    <item>
      <title>How to write resultset (csv files in this case) onto an FTP server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34196#M4373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Doc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried writing to FTP in code itself, but faced these errors. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename resultSet&lt;/P&gt;&lt;P&gt;ftp 'C:\Users\sas\resultSet.csv' &lt;/P&gt;&lt;P&gt;CD='/SASUpload' USER='guest' &lt;/P&gt;&lt;P&gt;PASS="guest" HOST='ftp.domain.com' rcmd=binary;&lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc cport library= abc_xyz file=resultSet; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: The connection was reset by a peer..&lt;/P&gt;&lt;P&gt;ERROR: Invalid logical name.&lt;/P&gt;&lt;P&gt;ERROR: Error in the FILENAME statement.&lt;/P&gt;&lt;P&gt;ERROR: "RESULTSET" is not a valid name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 14:27:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34196#M4373</guid>
      <dc:creator>gnyanendra</dc:creator>
      <dc:date>2012-01-24T14:27:59Z</dc:date>
    </item>
    <item>
      <title>How to write resultset (csv files in this case) onto an FTP server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34197#M4374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"resultset" is too long.&amp;nbsp; shorten to 8 or fewer characters.&amp;nbsp; If still getting errors, call tech support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 16:05:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-write-resultset-csv-files-in-this-case-onto-an-FTP-server/m-p/34197#M4374</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2012-01-24T16:05:51Z</dc:date>
    </item>
  </channel>
</rss>

