• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Scp & Chmod & chown in same command ?

stevefigueras

Basic Pleskian
Hello i need to upload some file from a local server to distant one so i use :
Connect with Putty on local server
scp /************************.jpg [email protected]://var/www/vhosts/******************.jpg

Connect with Putty on distant server
chmod -R 777 /var/www/vhosts/**********************************.jpg

chown -R sport16 /var/www/vhosts/*******************************.jpg


Question

Can i make these threee operation faster in same command directly during upload from the local server without connecting with the distant server ?
 
Back
Top