commands and file transfer on same connection

Apr 1, 2015 at 5:09 PM
Hi
Is it possible to do file transfers and execute commands on a single connection?

Since connection is slow, I would like to avoid connecting both a SshClient and a ScpSclient


thanks