<?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 encrypting password while using DOS FTP from SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/encrypting-password-while-using-DOS-FTP-from-SAS/m-p/70399#M15238</link>
    <description>hi all,&lt;BR /&gt;
&lt;BR /&gt;
If I use filename FTP , it is possible to use encrypted password (from proc pwencode);&lt;BR /&gt;
&lt;BR /&gt;
But say, I would like to use DOS-FTP from a SAS session;, i.e have the SAS program create a text file which has traditional FTP instructions and then use X command to run the text file;&lt;BR /&gt;
&lt;BR /&gt;
In this scenario, I am not able to find a way to encrypt password;  &lt;BR /&gt;
&lt;BR /&gt;
Any suggestions , ideas, how to use encrypted password in second case ?&lt;BR /&gt;
&lt;BR /&gt;
thanks,&lt;BR /&gt;
Shankar</description>
    <pubDate>Tue, 20 Jan 2009 18:55:46 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-01-20T18:55:46Z</dc:date>
    <item>
      <title>encrypting password while using DOS FTP from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/encrypting-password-while-using-DOS-FTP-from-SAS/m-p/70399#M15238</link>
      <description>hi all,&lt;BR /&gt;
&lt;BR /&gt;
If I use filename FTP , it is possible to use encrypted password (from proc pwencode);&lt;BR /&gt;
&lt;BR /&gt;
But say, I would like to use DOS-FTP from a SAS session;, i.e have the SAS program create a text file which has traditional FTP instructions and then use X command to run the text file;&lt;BR /&gt;
&lt;BR /&gt;
In this scenario, I am not able to find a way to encrypt password;  &lt;BR /&gt;
&lt;BR /&gt;
Any suggestions , ideas, how to use encrypted password in second case ?&lt;BR /&gt;
&lt;BR /&gt;
thanks,&lt;BR /&gt;
Shankar</description>
      <pubDate>Tue, 20 Jan 2009 18:55:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/encrypting-password-while-using-DOS-FTP-from-SAS/m-p/70399#M15238</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-01-20T18:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting password while using DOS FTP from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/encrypting-password-while-using-DOS-FTP-from-SAS/m-p/70400#M15239</link>
      <description>Consider using .netrc file to supply such information, otherwise how would your encyrpted password get de-encrypted when passed to the FTP server?&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 20 Jan 2009 19:05:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/encrypting-password-while-using-DOS-FTP-from-SAS/m-p/70400#M15239</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-01-20T19:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting password while using DOS FTP from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/encrypting-password-while-using-DOS-FTP-from-SAS/m-p/70401#M15240</link>
      <description>hi Scott,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for reply..you gave a useful hint about netrc files..I looked up about netrc files, and this idea seems to offer protection in the sense that only right people with access can look at contents of netrc file;&lt;BR /&gt;
&lt;BR /&gt;
However I am not sure if encrypted password is placed in netrc file, DOS-FTP would work;&lt;BR /&gt;
&lt;BR /&gt;
Am I missing something here?&lt;BR /&gt;
&lt;BR /&gt;
thanks,&lt;BR /&gt;
Shankar</description>
      <pubDate>Tue, 20 Jan 2009 19:21:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/encrypting-password-while-using-DOS-FTP-from-SAS/m-p/70401#M15240</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-01-20T19:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting password while using DOS FTP from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/encrypting-password-while-using-DOS-FTP-from-SAS/m-p/70402#M15241</link>
      <description>First of all, why can't you stick with filename ftp?&lt;BR /&gt;
Second, I think would get more luck on a different forum than these ones at this site, since SAS has nothing to offer if you chose to perform the processing outside SAS (by using X statement).&lt;BR /&gt;
&lt;BR /&gt;
Then it's not clear what you want to protect. A password in a scrip tfile can be protected by using file system security. You might also consider that ftp offers no proection during communication. In this case you could consider using the sftp protocol instead.&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Tue, 20 Jan 2009 21:02:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/encrypting-password-while-using-DOS-FTP-from-SAS/m-p/70402#M15241</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2009-01-20T21:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting password while using DOS FTP from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/encrypting-password-while-using-DOS-FTP-from-SAS/m-p/70403#M15242</link>
      <description>hi Linus,&lt;BR /&gt;
&lt;BR /&gt;
Thank you for your response;&lt;BR /&gt;
&lt;BR /&gt;
I have been testing both filename FTP and DOS-FTP for some time now; And before moving code to production I want to be able to give pros and cons of both approaches to my management; &lt;BR /&gt;
&lt;BR /&gt;
I found several limitations using standard filename FTP, however I was able to come up with a solution which would allow me to gracefully terminate system and make another attempt to download files, in case of various failures (network connection lost/remote file moved etc);&lt;BR /&gt;
&lt;BR /&gt;
DOS-FTP never gave me any issues at all, but looks like the major draw back is it will not allow  to encrypt password; The requirement at my client site is that the actual password should not be stored anywhere, even in netrc files, and it should not appear in log files either. And entering this password when prompted is not an option (the process is used to download dozens of files daily from Bloomberg server);&lt;BR /&gt;
&lt;BR /&gt;
so basically, I have been thoroughly exploring all options..and I want to ready with an answer if someone from client team asks me reason not to use DOS-FTP;&lt;BR /&gt;
&lt;BR /&gt;
thanks,&lt;BR /&gt;
Shankar</description>
      <pubDate>Tue, 20 Jan 2009 22:38:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/encrypting-password-while-using-DOS-FTP-from-SAS/m-p/70403#M15242</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-01-20T22:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting password while using DOS FTP from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/encrypting-password-while-using-DOS-FTP-from-SAS/m-p/70404#M15243</link>
      <description>To support encoding/encrypting a pw for "filename ftp", have you looked into PROC PWENCODE?&lt;BR /&gt;
See example "Example 2: Using an Encoded Password in a SAS Program" at &lt;A href="http://support.sas.com/documentation/cdl/en/proc/59565/HTML/default/a002598191.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/59565/HTML/default/a002598191.htm&lt;/A&gt; .&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Good Luck&lt;BR /&gt;
&lt;BR /&gt;
PeterC</description>
      <pubDate>Wed, 21 Jan 2009 12:24:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/encrypting-password-while-using-DOS-FTP-from-SAS/m-p/70404#M15243</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-01-21T12:24:25Z</dc:date>
    </item>
  </channel>
</rss>

