[cs631apue] FTP error
amazumda at stevens.edu
Thu Sep 6 19:34:57 EDT 2018
I apologize for that. The actual error is-
aubhikmazumdar$ ftp https://www.cs.stevens.edu/~jschauma/631/welcome.c
ftp: Can't lookup `https': nodename nor servname provided, or not known
ftp: Can't connect or login to host `https'
It still isn't working even though the nslookup looks positive-
www.cs.stevens.edu canonical name = www.cs.stevens-tech.edu.
but curl works fine with the -k option (disable verifying
curl https://www.cs.stevens.edu/~jschauma/631/welcome.c -k >
% Total % Received % Xferd Average Speed Time Time Time
Dload Upload Total Spent Left
100 148 100 148 0 0 132 0 0:00:01 0:00:01 --:--:--
Thank you for the explanations either ftp can't handle https or I am
missing an option with which it can.
On Mon, 3 Sep 2018 at 22:52, Jan Schaumann <jschauma at stevens.edu> wrote:
> Aubhik Mazumdar <amazumda at stevens.edu> wrote:
> > I have been trying to fetch the course code files using FTP on my MAC OS
> X but it keeps giving the error-
> > nodename nor servname provided, or not known
> This error should only occur if your system can not resolve the name
> www.cs.stevens.edu. You suggest that it can, though, so it's odd that
> you would see that error.
> When describing a problem, it's best to always include the exact and
> complete input and output of the commands you have problems with.
> > I tried the exact command in the lecture01 slides first-
> > ftp https://www.cs.stevens.edu/~jschauma/631/welcome.c
> What is the _exact_ output of this command?
> For example, there's a difference between
> ftp: Can't lookup `www.cs.stevens.edu': nodename nor servname provided,
> or not known
> ftp: Can't lookup `https': nodename nor servname provided, or not known
> In the former case, the command tries to look for 'www.cs.stevens.edu'
> and doesn't find the IP address for it; in the second case, it's trying
> to look for a host named 'https' and can't find that. (This may be the
> case if the ftp command in use does not have support for https, for
> It's not clear from your error report which case you are seeing (or
> if you're seeing another case).
> On OS X or other unix variants, you may also try to use curl(1) or
> wget(1) instead of ftp(1); the examples given in the slides are
> intentionally and specifically given for the reference platform (i.e.
> cs631apue mailing list
> cs631apue at lists.stevens.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cs631apue