Re: NMFTP

Posted by Annie on January 01, 2005
In Reply to: NMFTP posted by Chris on December 19, 2004

: Hi,
: I am trying to connect to:
: ftp://e0dps01u.ecs.nasa.gov/srtm/Africa/
: to download the file:
: ftp://e0dps01u.ecs.nasa.gov/srtm/Africa/N26E48.hgt.zip
: I am not familiar with NMFTP component but I have tried to use the following code without sucess:
: NMFTP1.Host := 'e0dps01u.ecs.nasa.gov';
: NMFTP1.Port := 20;
: NMFTP1.UserID := 'Anonymous';
: NMFTP1.Password := '';
: NMFTP1.Connect;
: it says "Connection Failed". With any other Host name is says "Host Lookup Failed". I have tried different ports, userIDs with no sucess. Can anyone help?
: Thanks,
: Chris
-----------------------

With your code example, but Port 21 instead of 20, it works for me. It doesn't work however with Port 20, which is quite normal :)

Greetings, Annie


[ Delphi Tutorials -- by DelphiLand ]