Upload de arquivos
$ curl --user username:password -T /path/to/sourcefile sftp://desthost/path/
Download de arquivos
$ curl --user username:password sftp://desthost/path/filename.txt -o filename.txt