<?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 FILENAME FTP PROMPT in SAS OnDemand in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/FILENAME-FTP-PROMPT-in-SAS-OnDemand/m-p/809711#M319314</link>
    <description>&lt;P&gt;I was uploading a file via FTP using the following code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;%put %sysfunc(dlgcdir(!userprofile\desktop));
filename original 'original.txt';
filename copy ftp 'copy.txt' host='my.address.com' user='myusername' prompt passive debug;

data _null_;
	infile original;
	input;
	file copy;
	put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And I found that the PROMPT above is impossible in SAS OnDemand; I checked that only PASS works there. Is the PWENCODE-PASS combination the only way in SAS OnDemand? Or is there any other way to keep PROMPT here?&lt;/P&gt;</description>
    <pubDate>Mon, 25 Apr 2022 14:46:45 GMT</pubDate>
    <dc:creator>Junyong</dc:creator>
    <dc:date>2022-04-25T14:46:45Z</dc:date>
    <item>
      <title>FILENAME FTP PROMPT in SAS OnDemand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/FILENAME-FTP-PROMPT-in-SAS-OnDemand/m-p/809711#M319314</link>
      <description>&lt;P&gt;I was uploading a file via FTP using the following code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;%put %sysfunc(dlgcdir(!userprofile\desktop));
filename original 'original.txt';
filename copy ftp 'copy.txt' host='my.address.com' user='myusername' prompt passive debug;

data _null_;
	infile original;
	input;
	file copy;
	put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And I found that the PROMPT above is impossible in SAS OnDemand; I checked that only PASS works there. Is the PWENCODE-PASS combination the only way in SAS OnDemand? Or is there any other way to keep PROMPT here?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 14:46:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/FILENAME-FTP-PROMPT-in-SAS-OnDemand/m-p/809711#M319314</guid>
      <dc:creator>Junyong</dc:creator>
      <dc:date>2022-04-25T14:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: FILENAME FTP PROMPT in SAS OnDemand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/FILENAME-FTP-PROMPT-in-SAS-OnDemand/m-p/809716#M319316</link>
      <description>&lt;P&gt;Isn't SAS On Demand using SAS/Studio as the user interface?&lt;/P&gt;
&lt;P&gt;If you want to prompt the user for a password you will need to use a SAS/Studio type prompt to get the password into a macro variable that you can use in the FILENAME code.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 14:58:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/FILENAME-FTP-PROMPT-in-SAS-OnDemand/m-p/809716#M319316</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-04-25T14:58:37Z</dc:date>
    </item>
  </channel>
</rss>

