Please check http://andrewberls.com/blog/post/adding-sftp-support-to-curl. You can add custom curl compilation flag to /usr/local/directadmin/ custombuild/custom/curl/configure.curl and just run "./build curl" to build/compile it, but before that you need to get libssh2 installed manually.