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 root@212.000.000.00://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 ?
Connect with Putty on local server
scp /************************.jpg root@212.000.000.00://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 ?