<?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: SAS FTP Upload in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SAS-FTP-Upload/m-p/133315#M36216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS has a FTP option for defining filenames.&amp;nbsp; Might be easier to send already created objects via batch file which SAS can also run.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Mar 2013 19:34:36 GMT</pubDate>
    <dc:creator>DBailey</dc:creator>
    <dc:date>2013-03-13T19:34:36Z</dc:date>
    <item>
      <title>SAS FTP Upload</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-FTP-Upload/m-p/133314#M36215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, I have a question around SAS and FTP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I have a set of reports generated by SAS (let's assume PDF's, EXCEL etc) in a directory (let's assume called 'report')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any code I can add which can do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Connect to my FTP/SFTP server&lt;/P&gt;&lt;P&gt;2. Upload the directory I specify from my system -&amp;gt; to a directory I specify on the FTP server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide sample code if possible! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 14:38:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-FTP-Upload/m-p/133314#M36215</guid>
      <dc:creator>vomer</dc:creator>
      <dc:date>2013-03-13T14:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAS FTP Upload</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-FTP-Upload/m-p/133315#M36216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS has a FTP option for defining filenames.&amp;nbsp; Might be easier to send already created objects via batch file which SAS can also run.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 19:34:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-FTP-Upload/m-p/133315#M36216</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2013-03-13T19:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS FTP Upload</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-FTP-Upload/m-p/133316#M36217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the code below&lt;/P&gt;&lt;P&gt;options&amp;nbsp; mlogic mprint obs=max formdlim='_'&amp;nbsp; source2 noxsync noxwait source=1;&lt;/P&gt;&lt;P&gt;%let id=user;&lt;/P&gt;&lt;P&gt;%let pw=xxxxxx;&lt;/P&gt;&lt;P&gt;data null;&lt;/P&gt;&lt;P&gt;file 'F:\Batch\getDATA.bat'; * the batch file;&lt;/P&gt;&lt;P&gt;put "ftp -s:%0";&lt;/P&gt;&lt;P&gt;put "goto END";&lt;/P&gt;&lt;P&gt;put "open &lt;A href="mailto:something@abcd.com%22;%20/*Host"&gt;something@abcd.com"; /*Host&lt;/A&gt; name*/&lt;/P&gt;&lt;P&gt;put "&amp;amp;id";&lt;/P&gt;&lt;P&gt;put "&amp;amp;pw";&lt;/P&gt;&lt;P&gt;put 'CD "USer/Test/file"';/* FTP path*/&lt;/P&gt;&lt;P&gt;put "LCD C:\Users\dwnld";/* Local Destination path*/&lt;/P&gt;&lt;P&gt;put "GET abcd.txt";/* File name*/&lt;/P&gt;&lt;P&gt;put "bye";&lt;/P&gt;&lt;P&gt;put ":END";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;options noxsync noxwait;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 10:46:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-FTP-Upload/m-p/133316#M36217</guid>
      <dc:creator>Subrata_LS</dc:creator>
      <dc:date>2013-10-03T10:46:52Z</dc:date>
    </item>
  </channel>
</rss>

