The answer is: both :) Use FTP to upload a Zip and SSH to unzip it there. If you don't have ssh connectivity you may use ZipDeploy.