Have the deploy:web:disable task accept the :copy_via setting for how to transfer the file to the server.

This setting is already used by the copy deploy strategy.