How do I ftp to an unknown host?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How do I ftp to an unknown host?
# 1  
Old 05-22-2003
How do I ftp to an unknown host?

after ftp. ftp.umass.edu, I get "UNKNOWN HOST" There is no prompt for username. What do I do so that I can ftp files out? Or even email, to an unknown host.
# 2  
Old 05-22-2003
i think you are typeing it incorrectly.

i get a dns response from that host.
Non-authoritative answer:
Name: isis.oit.umass.edu
Address: 128.119.166.99
Aliases: ftp.umass.edu

type "ftp ftp.umass.edu" then it should prompt you for a u/p
# 3  
Old 05-23-2003
If you are getting Unknown Host, This either means that
1. Host name that you have provided is Invalid.
2. DNS is not configured.
3. There might be some problem in the network
4. or the Host which you want to access is down.

Try to Ping the host.

And by looking the command that you have provided "ftp. ftp.umass.edu", here there is a problem - ftp followed by dot(.), but this will not give UNKNOWN HOST; indeed it will give "Command not found". So I assume that you are issuing the command correctly.
# 4  
Old 05-23-2003
And to know whether you can mail on that server:
If you network programming, you can then write a DNS query to look for MX record, and if such record exist, then you can mail to that server also.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FTP File to Multiple Host

I need to ftp a file to several servers. I have seen a lot examples on how to ftp several files from a host, none for what I need. I'm sorry if this has already been answered, hopefully someone can point me in the right direction. I'm very new to scripting. Thanks. (3 Replies)
Discussion started by: slqtech
3 Replies

2. HP-UX

Sendmail - relay Host unknown since adding dns

Hi ever since we´ve added the server in DNS, sendmail stopped working, but everything seems to be configured properly although in the mail logs we see: Jul 10 16:52:58 itc01 sendmail: t6AEqrHT005593: from=root, size=6, class=0, nrcpts=1, msgid=<201507101452.t6AEqrHT005593@itc01.headquarter.tmm>,... (3 Replies)
Discussion started by: fretagi
3 Replies

3. UNIX for Advanced & Expert Users

Hostname -f hostname: Unknown host

deleted (0 Replies)
Discussion started by: hce
0 Replies

4. Solaris

Classic: sendmail[pid]: My unqualified host name (hostname) unknown

Hi all, I'd like to disable sendmail permanently on my "new" 220R with freshly installed SunOS 5.10 because it prints annoying messages to the system console. Also I'm interested in how to fix the actual problem with unqualified host name. My unqualified host name (hostname) unknown; sleeping... (2 Replies)
Discussion started by: pseudocoder
2 Replies

5. UNIX for Dummies Questions & Answers

Get IP of FTP Host

All, This may be very trivial, but I am unaware. We normally do FTP to hosts with their hostname as follows. $ ftp c.b.a.com Now, How do I know the IP address of c.b.a.com? Thanks, Rahul. (3 Replies)
Discussion started by: rahulrathod
3 Replies

6. Solaris

PING - Unknown host 127.0.0.1, Unknown host localhost - Solaris 10

Hello, I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems: 1. When I execute the command ping, I get weird results: bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Discussion started by: Przemek
4 Replies

7. UNIX for Dummies Questions & Answers

unknown host

Hello all I'm new to this site and I have to say that ,it is just awesome. I was able to get most of my questions answered by reading the archives. I've been a UNIX programmer for a while now but new to administration. I just installed SunOS 5.9 on my desktop ( i86pc) . Everything... (3 Replies)
Discussion started by: luft
3 Replies

8. IP Networking

FTP - Connection Closed By Remote Host

Hi, I am having a problem with our AIX 4.3.3 Server accessing FTP. The error is " Connection Closed By Remote Host". Scenario: Since i put a default gateway on the server FTP connection is having a problem but when i remove the default gateway it will works fine.. Is there any way not... (1 Reply)
Discussion started by: mouglybean
1 Replies

9. UNIX for Dummies Questions & Answers

ftp: ftp/tcp: unknown service

Hello, when I type ftp on the server (Sco Unix 5.0.4) it gives an error messages which is "ftp: ftp/tcp: unknown service" but I have this service in '/etc/services' file. Also when I want to telnet from another machine to this machine is gives also 'telnet: tcp/telnet: unknown service' this... (2 Replies)
Discussion started by: alisevA3
2 Replies

10. UNIX for Advanced & Expert Users

sendmail : 550 host unknown

Hi I try to configure snedmail as smtp for my solaris box. if the useres are local there's no problem everything's working fine, but is it outside, sendmail says it could find the host. why?! all other tools find diffrent host? Could anyone tell me how I set up an easy mx ? So I test it with... (29 Replies)
Discussion started by: mrsaint
29 Replies
Login or Register to Ask a Question