<?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: Exporting a file to a different directory in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Exporting-a-file-to-a-different-directory/m-p/68856#M14949</link>
    <description>Thanks Cynthia and ssb!&lt;BR /&gt;
&lt;BR /&gt;
jp</description>
    <pubDate>Wed, 24 Mar 2010 12:37:36 GMT</pubDate>
    <dc:creator>jplarios</dc:creator>
    <dc:date>2010-03-24T12:37:36Z</dc:date>
    <item>
      <title>Exporting a file to a different directory</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-a-file-to-a-different-directory/m-p/68853#M14946</link>
      <description>I was using FILENAME FTP in UNIX in order to ftp a PDF file and when opening the file in the receiving end I got a message that the PDF could not open because it was not correctly decoded.  Here's the code that I use to FTP:&lt;BR /&gt;
&lt;BR /&gt;
filename pdffile '/dir/data/apdffile.pdf'; &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
filename create ftp '/somewhere/data2/final.pdf'&lt;BR /&gt;
         host=MACHINE&lt;BR /&gt;
         user='me' &lt;BR /&gt;
         pass='pw';&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
		infile pdffile;&lt;BR /&gt;
   		input;&lt;BR /&gt;
   		file create;&lt;BR /&gt;
   		&lt;BR /&gt;
	run;

Message was edited by: jplarios</description>
      <pubDate>Tue, 16 Mar 2010 17:11:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-a-file-to-a-different-directory/m-p/68853#M14946</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2010-03-16T17:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting a file to a different directory</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-a-file-to-a-different-directory/m-p/68854#M14947</link>
      <description>Hi:&lt;BR /&gt;
  You may want to check with Tech Support. I thought that PDF files (at least the ones created with ODS) needed to be FTP'd as binary files. I think there's an FTP option for that.&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/62618/HTML/default/a000178980.htm#a002503695" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/62618/HTML/default/a000178980.htm#a002503695&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 16 Mar 2010 17:41:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-a-file-to-a-different-directory/m-p/68854#M14947</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-03-16T17:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting a file to a different directory</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-a-file-to-a-different-directory/m-p/68855#M14948</link>
      <description>Suggest reviewing SAS FILENAME FTP DOC with focus on binary transfers.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Recommended Google advanced search argument, this topic/post:&lt;BR /&gt;
&lt;BR /&gt;
filename ftp binary unix site:sas.com</description>
      <pubDate>Tue, 16 Mar 2010 17:42:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-a-file-to-a-different-directory/m-p/68855#M14948</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-03-16T17:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting a file to a different directory</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-a-file-to-a-different-directory/m-p/68856#M14949</link>
      <description>Thanks Cynthia and ssb!&lt;BR /&gt;
&lt;BR /&gt;
jp</description>
      <pubDate>Wed, 24 Mar 2010 12:37:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-a-file-to-a-different-directory/m-p/68856#M14949</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2010-03-24T12:37:36Z</dc:date>
    </item>
  </channel>
</rss>

