I have a few questions regarding the above session capture:
1) how do we get to the 'ftp>' prompt? Do you log into the APC Management Card first then issue the command 'ftp', or is this session from an FTP client installed on a local system somewhere (e.g. the system where CatTools is installed)?
2) it looks like (from the capture you provided) that the APC Management Card comes with an FTP server. Is this correct?
3) when the 'get config.ini' command is issued, is that getting the file from the FTP server and passing to the client, or is this putting it on the FTP server (i.e. doing a file dump from the Smart UPS device)?
the APC Network Management card has a FTP server for firmware update purposes. Besides you can login to this FTP server and retrieve the configuration as a plain-text file (config.ini). I used the standard Windows FTP client to access the FTP server running on the APC Network Management card. With the get command the client retrieves the file and saves it to the local path (which can be set with the lcd command). After downloading the config file it would have to be renamed to something like [devicename]-config.ini.
I'm interested in this as well. We have a lot of APC gear, Netbotz and SMARTUPS, but they pretty much have the same interface. There is a utility that you can download, but it is not very good if you have 20 or more devices to check and backup configs like we do for all our other devices in cattools.
As for the FTP, I believe you would have to use the FTP built into the client computer, FTP is installed on the APC device. I'm not sure if you could get to the FTP promtp from within a SSH or telnet session, but I could be wrong.
Pls add me to the list of users interested in this.
A couple of observations:
- You may need to experiment with the timeout on the ftp download (our UPSes can take 90+ secs, even though the files are small)
- As well as config.ini, you may want to allow the option of retrieving the data and event logs via ftp. More details if you need them.
I'm very interested as well. We have a lot of APC Rack PDU's.
We use the following command to get the config.ini file:
Open a standard command prompt:
Conntected to 10.1.3.49.
220 AP8858EU3 Network Management Card AOS v5.1.4 FTP server ready.
User (10.1.3.49:(none)): apc
331 User name okay, need password.
230 User logged in, proceed.
200 TYPE Command okay.
Hash mark printing Aan ftp: (2048 bytes/hash mark) .
ftp> get config.ini
200 PORT Command okay.
150 File status okay; about to open data connection.
#########226 Closing data connection.
ftp: 19364 bytes ontvangen in 7,13 seconden 2,71 kB/s.
Hopefully there is a way to backup all the devices with Cattools!