When a device software needs to be updated and there is not enough free storage space available, the only method available in the upgrade guide is to use the BootROM in order to delete the old software file.
However, the BootROM is only accessible via the console port, which is not normally available in remote management.