No, our Java client doesn't have anything like that. In fact, SFTP doesn't really support it, but what you can do is use an SSH client to open an SSH terminal connection to the same server, assuming that it supports SSH, and execute the command that way.