ftp giving url but i want the IP address

Walter walterk1 at earthlink.net
Mon Apr 5 18:10:42 UTC 2010


On 4/5/10 10:08 AM -0500, Walter wrote:

>Walter,
>
>I do some similar sounding things for my gateway just to
>keep the logs from filling up with attack drivel. But it's
>not quite the same problem as your question, so I don't do
>what I'm about to recommend - it's more complex, involving
>several formats, IPv4 and IPv6.
>
>If, by "host-specific url" you mean the name associated with
>the IP address, you should be able to get the IP address by
>using the "host" command.
>  
>
"host xxxxxxx" does the trick.  Thanks.  But another user has
suggested a ready-built package, which I'll look into before
coding it to work in my program.


More information about the freebsd-questions mailing list