<?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 Moving Files on FTP Server in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Moving-Files-on-FTP-Server/m-p/1082#M516</link>
    <description>I have this task in my project where i am asked to move "csv" files between directories on an FTP server using SAS. I know that "x-commands" will do it but i am not allowed to use these commands since they can harm the system !! therefore i am in need to know if there is another solution which will help me do so.&lt;BR /&gt;
&lt;BR /&gt;
by the way , SAS is installed on Unix Server.&lt;BR /&gt;
FTP server is on Novell OS.</description>
    <pubDate>Mon, 24 Jul 2006 06:21:24 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2006-07-24T06:21:24Z</dc:date>
    <item>
      <title>Moving Files on FTP Server</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Moving-Files-on-FTP-Server/m-p/1082#M516</link>
      <description>I have this task in my project where i am asked to move "csv" files between directories on an FTP server using SAS. I know that "x-commands" will do it but i am not allowed to use these commands since they can harm the system !! therefore i am in need to know if there is another solution which will help me do so.&lt;BR /&gt;
&lt;BR /&gt;
by the way , SAS is installed on Unix Server.&lt;BR /&gt;
FTP server is on Novell OS.</description>
      <pubDate>Mon, 24 Jul 2006 06:21:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Moving-Files-on-FTP-Server/m-p/1082#M516</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-07-24T06:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Files on FTP Server</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Moving-Files-on-FTP-Server/m-p/1083#M517</link>
      <description>Hi!&lt;BR /&gt;
  Using FTP or moving files on an FTP server is not related to ODS directly. You can try looking up the FTP access method for the FILENAME statement in the SAS documentation or contacting Tech Support for specific help on this task.&lt;BR /&gt;
cynthia&lt;BR /&gt;
(Some people DO use the FILENAME FTP access method to move ODS files, however, the use of this capability does not require ODS and is not limited to ODS.)</description>
      <pubDate>Mon, 24 Jul 2006 23:09:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Moving-Files-on-FTP-Server/m-p/1083#M517</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2006-07-24T23:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Files on FTP Server</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Moving-Files-on-FTP-Server/m-p/1084#M518</link>
      <description>%let Ftp_User=usercode;&lt;BR /&gt;
%let Ftp_Pass=password;&lt;BR /&gt;
%let Ftp_Host=999.999.999.999; /* Ip Address */&lt;BR /&gt;
&lt;BR /&gt;
filename FtpFile &lt;BR /&gt;
     ftp "File.csv" &lt;BR /&gt;
     host="&amp;amp;Ftp_Host"&lt;BR /&gt;
     user="&amp;amp;Ftp_User"&lt;BR /&gt;
     pass="&amp;amp;Ftp_Pass";&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
  length lineData $ 256;&lt;BR /&gt;
  set DataInputFile;&lt;BR /&gt;
  file FtpFile LRECL=256;&lt;BR /&gt;
&lt;BR /&gt;
  lineData = strip(Date) || "," || strip(MillCode) || "," || strip(Machine) || ",0," || strip(Product) || ",," ||&lt;BR /&gt;
								strip(actual) || ",MT," || strip(mtd);&lt;BR /&gt;
		put Linedata;&lt;BR /&gt;
	run;</description>
      <pubDate>Wed, 15 Aug 2007 20:02:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Moving-Files-on-FTP-Server/m-p/1084#M518</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-08-15T20:02:36Z</dc:date>
    </item>
  </channel>
</rss>

