home *** CD-ROM | disk | FTP | other *** search
- ; *****************************************************
- ; Example26.ftp
- ; =============
- ; This example shows how to check both if a host
- ; can be found on a network and is available!
- ; -----------------------------------------------------
- ; This example shows the use of this commands:
- ; if HOSTAVAILABLE then...
- ; if...then...else...endif
- ; -----------------------------------------------------
- ; NOTE: This example works for you if you are connected
- ; to the internet. Otherwise, change the hostname!
- ; *****************************************************
-
-
- ; This is the host to be search:
- Host="transsoft.com"
-
- ; Now check for it's presence on the network:
- if HostAvailable then
- Message "The host is currently present!"
- else
- Message "The host is not present at this time!"
- endif
-