ssh user@ftpserver.com "mkdir -p /data/install/somefolder"
scp -r dvader@deathstar.com:/source/directory/path /target/directory/path