<?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: Deleting Gif File. File Transfer. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Deleting-Gif-File-File-Transfer/m-p/59858#M16910</link>
    <description>Hi Scott, &lt;BR /&gt;
&lt;BR /&gt;
The thing is that there are other files in this directory such a .gif, .jpeg, ,html and .txt. And I would only like to delete any files that end with .gif extension. and leave all other files alone. &lt;BR /&gt;
&lt;BR /&gt;
With this Fdelete function, I have never tried using it before but does it allow me to only write it in way that it wll only delete files with .gif extension??? &lt;BR /&gt;
&lt;BR /&gt;
Also, just wondering is SAS able to do sort of like a FTP transfer? transfering files from one folder to another? &lt;BR /&gt;
&lt;BR /&gt;
Hoping you can help. &lt;BR /&gt;
&lt;BR /&gt;
Cheers.</description>
    <pubDate>Fri, 06 Aug 2010 01:18:17 GMT</pubDate>
    <dc:creator>Yennie</dc:creator>
    <dc:date>2010-08-06T01:18:17Z</dc:date>
    <item>
      <title>Deleting Gif File. File Transfer.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Deleting-Gif-File-File-Transfer/m-p/59855#M16907</link>
      <description>Hi there, &lt;BR /&gt;
&lt;BR /&gt;
I store my web pages and gif file in tis directory "/data/webserver/html/yen" and I would like to run a SAS script that will delete all the gif files in this directory. Just wondering how do I do that? &lt;BR /&gt;
&lt;BR /&gt;
Also I would like to transfer three webpages from C:Temp/Yen to "/data/webserver/html/yen". How do I do that? &lt;BR /&gt;
&lt;BR /&gt;
Hopin you can help me out. Thanks in advance!&lt;BR /&gt;
&lt;BR /&gt;
Yennie</description>
      <pubDate>Tue, 03 Aug 2010 04:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Deleting-Gif-File-File-Transfer/m-p/59855#M16907</guid>
      <dc:creator>Yennie</dc:creator>
      <dc:date>2010-08-03T04:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Gif File. File Transfer.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Deleting-Gif-File-File-Transfer/m-p/59856#M16908</link>
      <description>The X statement (or one of its variations) might be a good place to start.  It allows you to submit OS level commands from within a SAS program.</description>
      <pubDate>Wed, 04 Aug 2010 05:47:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Deleting-Gif-File-File-Transfer/m-p/59856#M16908</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2010-08-04T05:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Gif File. File Transfer.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Deleting-Gif-File-File-Transfer/m-p/59857#M16909</link>
      <description>Consider using the called function FDELETE function either in a DATA step or you can invoke it using %SYSFUNC within a macro.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Google advanced search argument, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
fdelete site:sas.com</description>
      <pubDate>Wed, 04 Aug 2010 13:41:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Deleting-Gif-File-File-Transfer/m-p/59857#M16909</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-08-04T13:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Gif File. File Transfer.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Deleting-Gif-File-File-Transfer/m-p/59858#M16910</link>
      <description>Hi Scott, &lt;BR /&gt;
&lt;BR /&gt;
The thing is that there are other files in this directory such a .gif, .jpeg, ,html and .txt. And I would only like to delete any files that end with .gif extension. and leave all other files alone. &lt;BR /&gt;
&lt;BR /&gt;
With this Fdelete function, I have never tried using it before but does it allow me to only write it in way that it wll only delete files with .gif extension??? &lt;BR /&gt;
&lt;BR /&gt;
Also, just wondering is SAS able to do sort of like a FTP transfer? transfering files from one folder to another? &lt;BR /&gt;
&lt;BR /&gt;
Hoping you can help. &lt;BR /&gt;
&lt;BR /&gt;
Cheers.</description>
      <pubDate>Fri, 06 Aug 2010 01:18:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Deleting-Gif-File-File-Transfer/m-p/59858#M16910</guid>
      <dc:creator>Yennie</dc:creator>
      <dc:date>2010-08-06T01:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Gif File. File Transfer.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Deleting-Gif-File-File-Transfer/m-p/59859#M16911</link>
      <description>You will need to use FILENAME with the "PIPES" option to read a directory and then use FDELETE to delete individual files; I don't expect FDELETE supports any wild-carding. &lt;BR /&gt;
&lt;BR /&gt;
And, also, yes SAS supports FTP, using FILENAME with the FTP option.&lt;BR /&gt;
&lt;BR /&gt;
Check your SAS companion guide for details.  Also,  the SAS support &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  website has information about these techniques.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 06 Aug 2010 01:42:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Deleting-Gif-File-File-Transfer/m-p/59859#M16911</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-08-06T01:42:46Z</dc:date>
    </item>
  </channel>
</rss>

