Skip to main content

[archive] FTP and all that

  • May 1, 2008
  • 2 replies
  • 0 views

[Migrated content. Thread originally posted on 01 May 2008]

I just tried to run the msinet example for connecting to an FTP server and find I get the error "unable to connect to remote host" and then it tells me "cannot open file: INET98.CHM" in ERROR-HELP-FILE

I do not know what this is?

I regenerated the msinet.def file but the error persists.

I would use the c$socket examples but these all seem to require the IP address of the FTP site rather than the name.

Anyone know what I am doing wrong?
Keith

2 replies

[Migrated content. Thread originally posted on 01 May 2008]

I just tried to run the msinet example for connecting to an FTP server and find I get the error "unable to connect to remote host" and then it tells me "cannot open file: INET98.CHM" in ERROR-HELP-FILE

I do not know what this is?

I regenerated the msinet.def file but the error persists.

I would use the c$socket examples but these all seem to require the IP address of the FTP site rather than the name.

Anyone know what I am doing wrong?
Keith
unfortunately I can't help you with your example, but I am pretty sure there is a win API call you can do to resolve an ftp address to an IP, I just can't seem to find it at the moment. The C$socket example works well if you can find this API call. I'll keep looking, but I'm sure someone here must know what I am talking about.

[Migrated content. Thread originally posted on 01 May 2008]

I just tried to run the msinet example for connecting to an FTP server and find I get the error "unable to connect to remote host" and then it tells me "cannot open file: INET98.CHM" in ERROR-HELP-FILE

I do not know what this is?

I regenerated the msinet.def file but the error persists.

I would use the c$socket examples but these all seem to require the IP address of the FTP site rather than the name.

Anyone know what I am doing wrong?
Keith
unfortunately I can't help you with your example, but I am pretty sure there is a win API call you can do to resolve an ftp address to an IP, I just can't seem to find it at the moment. The C$socket example works well if you can find this API call. I'll keep looking, but I'm sure someone here must know what I am talking about.