This script runs from the switch and will try to ping a host and if it's able to do it will upload a copy of it's config to a remote ftp server. This is useful if you want to backup configs to a remote server or useful in part if you want to learn how to create a script that triggers an event based on available network connectivity. You have to configure the parameters for remote server, directory, username and password in the remoteserver.cfg file and then it will ping a host and if the ping is successful it will connect to the remote ftp server and upload a copy of it's running configuration.