Re: NMFTP

Posted by AZOR on May 06, 2005

In Reply to: Re: NMFTP posted by mohammadreza on January 31, 2005

: : 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?

I think:
try this:

Form1.NMFTP1.UserID:='Anonymous';
Form1.NMFTP1.FWUserID:='Anonymous';
Form1.NMFTP1.Password:= YourPW1
Form1.NMFTP1.Port := 20; // or 21
Form1.NMFTP1.Host:='e0dps01u.ecs.nasa.gov';
Form1.NMFTP1.Connect;

and when you download you must first change dir

Related Articles and Replies



Reply

Name:
Password:

Subject:

Comments: