<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div class="gmail_default">I apologize for that. The actual error is-</div><div class="gmail_default"><p class="gmail-m_-5297943143944171011gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(62,254,20);background-color:rgb(0,0,0)"><span class="gmail-m_-5297943143944171011gmail-s1" style="font-variant-ligatures:no-common-ligatures">aubhikmazumdar$ ftp <a href="https://www.cs.stevens.edu/~jschauma/631/welcome.c" target="_blank">https://www.cs.stevens.edu/~jschauma/631/welcome.c</a></span></p><p class="gmail-m_-5297943143944171011gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(62,254,20);background-color:rgb(0,0,0)"><span class="gmail-m_-5297943143944171011gmail-s1" style="font-variant-ligatures:no-common-ligatures">ftp: Can&#39;t lookup `https&#39;: nodename nor servname provided, or not known</span></p><p class="gmail-m_-5297943143944171011gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(62,254,20);background-color:rgb(0,0,0)"><span class="gmail-m_-5297943143944171011gmail-s1" style="font-variant-ligatures:no-common-ligatures">ftp: Can&#39;t connect or login to host `https&#39;</span></p></div><div style="font-family:Arial,Helvetica,sans-serif"><br></div><div style="font-family:Arial,Helvetica,sans-serif"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">It still isn&#39;t working even though the nslookup looks positive-</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><p class="gmail-m_-5297943143944171011gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(62,254,20);background-color:rgb(0,0,0)"><span class="gmail-m_-5297943143944171011gmail-s1" style="font-variant-ligatures:no-common-ligatures">nslookup <a href="http://www.cs.stevens.edu/" target="_blank">www.cs.stevens.edu</a></span></p><p class="gmail-m_-5297943143944171011gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(62,254,20);background-color:rgb(0,0,0)"><span class="gmail-m_-5297943143944171011gmail-s1" style="font-variant-ligatures:no-common-ligatures">Server:<span class="gmail-m_-5297943143944171011gmail-Apple-tab-span" style="white-space:pre-wrap">        </span><span class="gmail-m_-5297943143944171011gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>1.1.1.1</span></p><p class="gmail-m_-5297943143944171011gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(62,254,20);background-color:rgb(0,0,0)"><span class="gmail-m_-5297943143944171011gmail-s1" style="font-variant-ligatures:no-common-ligatures">Address:<span class="gmail-m_-5297943143944171011gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>1.1.1.1#53</span></p><p class="gmail-m_-5297943143944171011gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(62,254,20);background-color:rgb(0,0,0);min-height:14px"><span class="gmail-m_-5297943143944171011gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p><p class="gmail-m_-5297943143944171011gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(62,254,20);background-color:rgb(0,0,0)"><span class="gmail-m_-5297943143944171011gmail-s1" style="font-variant-ligatures:no-common-ligatures">Non-authoritative answer:</span></p><p class="gmail-m_-5297943143944171011gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(62,254,20);background-color:rgb(0,0,0)"><span class="gmail-m_-5297943143944171011gmail-s1" style="font-variant-ligatures:no-common-ligatures"><a href="http://www.cs.stevens.edu/" target="_blank">www.cs.stevens.edu</a><span class="gmail-m_-5297943143944171011gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>canonical name = <a href="http://www.cs.stevens-tech.edu/" target="_blank">www.cs.stevens-tech.edu</a>.</span></p><p class="gmail-m_-5297943143944171011gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(62,254,20);background-color:rgb(0,0,0)"><span class="gmail-m_-5297943143944171011gmail-s1" style="font-variant-ligatures:no-common-ligatures">Name:<span class="gmail-m_-5297943143944171011gmail-Apple-tab-span" style="white-space:pre-wrap">        </span><a href="http://www.cs.stevens-tech.edu/" target="_blank">www.cs.stevens-tech.edu</a></span></p><p class="gmail-m_-5297943143944171011gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(62,254,20);background-color:rgb(0,0,0)"><span class="gmail-m_-5297943143944171011gmail-s1" style="font-variant-ligatures:no-common-ligatures">Address: 155.246.89.84</span></p></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">but curl works fine with the -k option (disable verifying ssl certs[insecure!])</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><p class="gmail-m_-5297943143944171011gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(62,254,20);background-color:rgb(0,0,0)"><span class="gmail-m_-5297943143944171011gmail-s1" style="font-variant-ligatures:no-common-ligatures">curl <a href="https://www.cs.stevens.edu/~jschauma/631/welcome.c" target="_blank">https://www.cs.stevens.edu/~jschauma/631/welcome.c</a> -k &gt; Desktop/welcome.c</span></p><p class="gmail-m_-5297943143944171011gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(62,254,20);background-color:rgb(0,0,0)"><span class="gmail-m_-5297943143944171011gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">  </span>% Total<span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">    </span>% Received % Xferd<span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">  </span>Average Speed <span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">  </span>Time<span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">    </span>Time <span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">    </span>Time<span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">  </span>Current</span></p><p class="gmail-m_-5297943143944171011gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(62,254,20);background-color:rgb(0,0,0)"><span class="gmail-m_-5297943143944171011gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">                                 </span>Dload<span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">  </span>Upload <span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">  </span>Total <span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">  </span>Spent<span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">    </span>Left<span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">  </span>Speed</span></p><p class="gmail-m_-5297943143944171011gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(62,254,20);background-color:rgb(0,0,0)"><span class="gmail-m_-5297943143944171011gmail-s1" style="font-variant-ligatures:no-common-ligatures">100 <span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">  </span>148<span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">  </span>100 <span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">  </span>148<span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">    </span>0 <span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">    </span>0<span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">    </span>132<span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">      </span>0<span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">  </span>0:00:01<span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">  </span>0:00:01 --:--:-- <span class="gmail-m_-5297943143944171011gmail-Apple-converted-space">  </span>132</span></p></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thank you for the explanations either ftp can&#39;t handle https or I am missing an option with which it can.</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 3 Sep 2018 at 22:52, Jan Schaumann &lt;<a href="mailto:jschauma@stevens.edu">jschauma@stevens.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Aubhik Mazumdar &lt;<a href="mailto:amazumda@stevens.edu" target="_blank">amazumda@stevens.edu</a>&gt; wrote:<br>
&gt; I have been trying to fetch the course code files using FTP on my MAC OS X but it keeps giving the error-<br>
&gt; nodename nor servname provided, or not known<br>
<br>
This error should only occur if your system can not resolve the name<br>
<a href="http://www.cs.stevens.edu" rel="noreferrer" target="_blank">www.cs.stevens.edu</a>.  You suggest that it can, though, so it&#39;s odd that<br>
you would see that error.<br>
<br>
When describing a problem, it&#39;s best to always include the exact and<br>
complete input and output of the commands you have problems with.<br>
<br>
&gt; I tried the exact command in the lecture01 slides first-<br>
&gt; <br>
&gt; ftp <a href="https://www.cs.stevens.edu/~jschauma/631/welcome.c" rel="noreferrer" target="_blank">https://www.cs.stevens.edu/~jschauma/631/welcome.c</a><br>
<br>
What is the _exact_ output of this command?<br>
<br>
For example, there&#39;s a difference between<br>
<br>
ftp: Can&#39;t lookup `<a href="http://www.cs.stevens.edu" rel="noreferrer" target="_blank">www.cs.stevens.edu</a>&#39;: nodename nor servname provided, or not known<br>
<br>
and<br>
<br>
ftp: Can&#39;t lookup `https&#39;: nodename nor servname provided, or not known<br>
<br>
In the former case, the command tries to look for &#39;<a href="http://www.cs.stevens.edu" rel="noreferrer" target="_blank">www.cs.stevens.edu</a>&#39;<br>
and doesn&#39;t find the IP address for it; in the second case, it&#39;s trying<br>
to look for a host named &#39;https&#39; and can&#39;t find that.  (This may be the<br>
case if the ftp command in use does not have support for https, for<br>
example.)<br>
<br>
It&#39;s not clear from your error report which case you are seeing (or<br>
if you&#39;re seeing another case).<br>
<br>
On OS X or other unix variants, you may also try to use curl(1) or<br>
wget(1) instead of ftp(1); the examples given in the slides are<br>
intentionally and specifically given for the reference platform (i.e.<br>
NetBSD).<br>
<br>
-Jan<br>
_______________________________________________<br>
cs631apue mailing list<br>
<a href="mailto:cs631apue@lists.stevens.edu" target="_blank">cs631apue@lists.stevens.edu</a><br>
<a href="https://lists.stevens.edu/mailman/listinfo/cs631apue" rel="noreferrer" target="_blank">https://lists.stevens.edu/mailman/listinfo/cs631apue</a><br>
</blockquote></div></div>