<?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: How to Download/Import/Get a File From Server to Local PC in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/274778#M5158</link>
    <description>&lt;P&gt;To use FTP in SAS code you would need to be able to FTP from your SAS server to your PC. You need to find out the IP address or host name of your PC as the first step.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jun 2016 19:34:50 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2016-06-02T19:34:50Z</dc:date>
    <item>
      <title>How to Download/Import/Get a File From Server to Local PC</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/273245#M5092</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a sample report as below. My purpose is to download the xml or xlsx file in my local PC from the server. I found Chris Hemedinger’s blog post on the internet but I couldn’t find the “Copy Files” task on Enterprise Guide 5.1 and he also showed for “Proc Export” procedure, I’m not sure whether “ods tagsets.ExcelXP” will work or not. I export the xml file as the following path on the server. “sas9/sasdata/....../Example.xml”. I can see the file on Enterprise Guide but I can’t open or copy to my Local PC from the server. I'd like to state that I have to use the “ods tagsets.ExcelXP”.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chris Hemedinger’s post : &lt;A href="http://blogs.sas.com/content/sasdummy/2013/05/20/export-and-download-any-file-from-sas-enterprise-guide/" target="_blank"&gt;http://blogs.sas.com/content/sasdummy/2013/05/20/export-and-download-any-file-from-sas-enterprise-guide/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html(id=1) file='server path' style=htmlblue
    options(page_break='no');
ods msoffice2k(id=2) file='server path' style=htmlblue
    options(page_break='no');
ods tagsets.excelxp(id=3) file='server path' style=htmlblue
    options(embedded_titles='no' sheet_interval='none' sheet_name='AllGroups');
ods excel(id=4) file='server path' style=htmlblue
    options(embedded_titles='no' sheet_interval='none' sheet_name='AllGroups');
proc sort data=sashelp.shoes out=shoes;
  by region subsidiary product;
  where product in ('Sandal' 'Boot' 'Slipper') and
        region in ('Asia', 'Pacific', 'Canada');
run;
** starting program;
proc report data=shoes 
     style(summary) = Header;
title '1) Without extra columns';
where product in ('Sandal' 'Boot' 'Slipper');
  column region subsidiary product,(sales returns calc);
  define region /group;
  define subsidiary / group;
  define product / across;
  define sales /sum f=dollar12.;
  define returns / sum f=dollar12.;
  define calc / computed f=dollar12.;
  break after region / summarize;
  compute after region;
     region = 'Sum';
	 line ' ';
  endcomp;
  compute calc;
     _c5_ = _c3_ - _c4_;
	 _c8_ = _c6_ - _c7_;
	 _c11_ = _c9_ - _c10_;
  endcomp;
run;
ods html(id=1) close;
ods msoffice2k(id=2) close;
ods tagsets.excelxp(id=3) close;
ods excel(id=4) close;
title;
options byline;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 12:56:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/273245#M5092</guid>
      <dc:creator>turcay</dc:creator>
      <dc:date>2016-05-26T12:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Download/Import/Get a File From Server to Local PC</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/273281#M5094</link>
      <description>&lt;P&gt;The custom task &lt;A href="http://blogs.sas.com/content/sasdummy/2012/12/06/copy-files-in-sas-eg/" target="_self"&gt;you need is linked from this blog post&lt;/A&gt;. &amp;nbsp;A few simple steps to download, copy to a special folder on your PC, and then EG can find the task.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 14:54:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/273281#M5094</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-05-26T14:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Download/Import/Get a File From Server to Local PC</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/273357#M5096</link>
      <description>&lt;P&gt;You can also try a file transfer program like WinSCP.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 18:55:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/273357#M5096</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-05-26T18:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to Download/Import/Get a File From Server to Local PC</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/274491#M5146</link>
      <description>&lt;P&gt;Unfortunately, I cannot use WinSCP, MobAxterm,Fillazilla, etc. because I'm working on customer place as an end user. They don't let us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to do&amp;nbsp;&lt;FONT color="#000000"&gt;&lt;SPAN class="login-bold"&gt;Chris Hemedinger's method in my local and I could succeed, if there are no suggestions, I'm going to try this method on customer environment, and accept&amp;nbsp;&lt;SPAN&gt;Chris response as a solution&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 21:30:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/274491#M5146</guid>
      <dc:creator>turcay</dc:creator>
      <dc:date>2016-06-01T21:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to Download/Import/Get a File From Server to Local PC</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/274546#M5148</link>
      <description>&lt;P&gt;What about FTP? That command is part of Windows and Unix operating systems so you don't need to install anything. Its not as friendly as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger﻿&lt;/a&gt;'s solution though.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 04:44:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/274546#M5148</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-06-02T04:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Download/Import/Get a File From Server to Local PC</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/274652#M5157</link>
      <description>&lt;P&gt;Do you mean FTP code in SAS like following link?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/43/962.html&amp;nbsp;" target="_blank"&gt;http://support.sas.com/kb/43/962.html&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I pull the file by using SAS code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 13:20:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/274652#M5157</guid>
      <dc:creator>turcay</dc:creator>
      <dc:date>2016-06-02T13:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Download/Import/Get a File From Server to Local PC</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/274778#M5158</link>
      <description>&lt;P&gt;To use FTP in SAS code you would need to be able to FTP from your SAS server to your PC. You need to find out the IP address or host name of your PC as the first step.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 19:34:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/274778#M5158</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-06-02T19:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Download/Import/Get a File From Server to Local PC</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/274801#M5160</link>
      <description>&lt;P&gt;Then, as a next step, you would need to be able to enable/start an FTP server on your local PC. &amp;nbsp;That's an unusual thing to do on most workstations -- and might not be permitted in a tightly controlled IT environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not that I'm rooting for my own answer here (and the Copy Files task), but I know that if you decide to go with that, you'll be in good company. &amp;nbsp;Hundreds of other users now rely on that task -- and probably many more that I haven't heard from...&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 20:24:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/274801#M5160</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-06-02T20:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Download/Import/Get a File From Server to Local PC</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/274870#M5165</link>
      <description>&lt;P&gt;Okay, Mr. Hemedinger,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm agree with you, your method is best solution&amp;nbsp;according to current circumstances.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 07:54:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-Download-Import-Get-a-File-From-Server-to-Local-PC/m-p/274870#M5165</guid>
      <dc:creator>turcay</dc:creator>
      <dc:date>2016-06-03T07:54:50Z</dc:date>
    </item>
  </channel>
</rss>

